On 02/19/2013 04:03 PM, Landry Breuil wrote:
On Tue, Feb 19, 2013 at 03:18:40PM -0500, circuit6engineering wrote:
I'm going to tinker with [werc][1] under chroot'ed Apache.
[1]: http://werc.cat-v.org/
werc requires plan9port. If I attempt to build plan9port with:
make LOCALBASE=/var/www
...
===> Extracting for plan9port-20120508p0
/bin/sh: bzip2: not found
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
*** Error code 1
...
but 'make install' works as expected. I can copy
/usr/local/plan9/bin to /var/www/bin
and continue from there but I am curious why the LOCALBASE method
failed. Any speculations or comments on best practices?
You're looking for PREFIX. Read bsd.port.mk(5) to learn about the
differences between PREFIX, TRUEPREFIX and LOCALBASE.
Landry
Thanks!
The ports man page doesn't mention PREFIX and says this:
LOCALBASE Where to install things in general...
Whereas the bsd.port.mk man page says this:
LOCALBASE where other ports have already been installed...
PREFIX Base directory for the current port installation...
Which is quite a bit more useful. Maybe the ports man page could use a
little work. I haven't noticed a [email protected] mailing list. I would
like to know more about how the community discusses and updates the
documentation. Any pointers?