Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2003 23:33:17 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Adam Glass <adam@clarity.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: using an alternate install prefix
Message-ID:  <20030420063317.GA75743@rot13.obsecurity.org>
In-Reply-To: <20030420062325.GB28069@sea.clarity.net>
References:  <20030420062325.GB28069@sea.clarity.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.)
>=20
> 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.
>=20
> One of my friends suggested that I add "LOCALBASE=3D/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.
=20
Kris

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+oj8tWry0BWjoQKURAhABAJ9lhuySmOBmm16ASbb0uYS+4gdCDwCdEhD/
tmfJebLvorpcXuC6HJfAroE=
=Tz/0
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030420063317.GA75743>