using an alternate install prefix
Kris Kennaway
kris at obsecurity.org
Sat Apr 19 23:33:18 PDT 2003
On Sat, Apr 19, 2003 at 11:23:25PM -0700, Adam Glass wrote:
> (Background: I'm a NetBSD user, experimenting a bit with FreeBSD on
> one of my systems.)
>
> One of the things that I really like about NetBSD's "pkgsrc"
> (analagous to the ports collection) is that it installs its packages
> into /usr/pkg. This is nice because it keeps files managed/created by
> the packaging system separate from files managed/created "by hand" by
> the local administrator. I'd like to get this same behavior out of
> FreeBSD's ports collection, if possible. Specifically, I'd like to
> have ports install things into a path other than /usr/local.
>
> One of my friends suggested that I add "LOCALBASE=/usr/pkg" to
> /etc/make.conf. Will this be sufficient? Are there any other
> ramifications to this that I should be aware of?
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.
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/20030419/0a289060/attachment.bin
More information about the freebsd-ports
mailing list