using an alternate install prefix

Kris Kennaway kris at obsecurity.org
Sun Apr 20 15:03:37 PDT 2003


On Sun, Apr 20, 2003 at 12:07:05PM -0700, Adam Glass wrote:
> Kris wrote:
> > No, you need to set PREFIX as well.  Some ports do not respect
> > PREFIX, but that's a bug that should be reported via send-pr.
> 
> Hmm.  Looks like I also need to set X11BASE and LINUXBASE; X11BASE
> seems to have defaulted to PREFIX when I installed the
> XFree86-4-libraries port, and all of that stuff ended up in /usr/pkg.

Read the comments at the top of bsd.port.mk that explain all these
variables.  PREFIX is "Where should I install this port?".

> Is /etc/make.conf ports-specific?  (Or should I have these overrides
> in another more specific/appropriate file?)  I only want PREFIX set
> like this when I'm building from ports.

make.conf is used by all instances of 'make', but the variables are
used by specific places.  e.g. PREFIX is only used by ports.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030420/479122a0/attachment.bin


More information about the freebsd-ports mailing list