From owner-freebsd-ports@FreeBSD.ORG Sat Apr 19 23:33:18 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BD6237B401 for ; Sat, 19 Apr 2003 23:33:18 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-115-75-1.dsl.lsan03.pacbell.net [67.115.75.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6D4643FAF for ; Sat, 19 Apr 2003 23:33:17 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 714A266B9B; Sat, 19 Apr 2003 23:33:17 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 5207E149F; Sat, 19 Apr 2003 23:33:17 -0700 (PDT) Date: Sat, 19 Apr 2003 23:33:17 -0700 From: Kris Kennaway To: Adam Glass Message-ID: <20030420063317.GA75743@rot13.obsecurity.org> References: <20030420062325.GB28069@sea.clarity.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <20030420062325.GB28069@sea.clarity.net> User-Agent: Mutt/1.4i cc: freebsd-ports@freebsd.org Subject: Re: using an alternate install prefix X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 06:33:18 -0000 --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--