From owner-freebsd-ports@FreeBSD.ORG Tue Jan 20 11:05:13 2004 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 6E45616A4CE; Tue, 20 Jan 2004 11:05:13 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96E4143D83; Tue, 20 Jan 2004 11:03:19 -0800 (PST) (envelope-from marcus@FreeBSD.org) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) i0KJ1asm063295; Tue, 20 Jan 2004 14:01:36 -0500 (EST) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Marius Strobl In-Reply-To: <20040120194157.K93730@newtrinity.zeist.de> References: <1074590694.85583.20.camel@shumai.marcuscom.com> <400D2939.5090203@fillmore-labs.com> <1074617147.757.16.camel@gyros> <20040120171315.GH94636@FreeBSD.org> <1074619795.757.43.camel@gyros> <1074621917.757.61.camel@gyros> <20040120194157.K93730@newtrinity.zeist.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LxU0hTc24QenD9MuJ2co" Organization: FreeBSD, Inc. Message-Id: <1074625391.757.86.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 20 Jan 2004 14:03:11 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on creme-brulee.marcuscom.com cc: ports@FreeBSD.org cc: Kris Kennaway cc: Eivind Eklund cc: Oliver Eikemeier Subject: Re: HEADS UP: New bsd.*.mk changes 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: Tue, 20 Jan 2004 19:05:13 -0000 --=-LxU0hTc24QenD9MuJ2co Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-01-20 at 13:41, Marius Strobl wrote: > On Tue, Jan 20, 2004 at 01:05:17PM -0500, Joe Marcus Clarke wrote: > > On Tue, 2004-01-20 at 13:02, Marius Strobl wrote: > > > On Tue, Jan 20, 2004 at 12:29:55PM -0500, Joe Marcus Clarke wrote: > > > >=20 > > > > I agree. This approach seems the most flexible. As for not being = able > > > > to do non-root installs, this is a bogus argument as one could simp= ly > > > > override PORT_DBDIR as they would PKG_DBDIR (even with the original > > > > patch). > > > >=20 > > >=20 > > > I was taking about non-root builds, e.g. single ports checked out > > > outside of PKGBASE to do maintenance work, not non-root installs. In > > > an environment where non-root installs are done your argument is vali= d. > > > Not being able to do non-root builds compilcates the job of maintaine= rs. > >=20 > > As I said, non-root builds could override PORT_DBDIR the same way you > > could override PKG_DBDIR. You could point that to a directory to which > > you could write. What am I missing? > >=20 >=20 > In general I'd like to further on be able to build a port as non-root > and install als root, with default PREFIX, PKG_DBDIR and PORT_DBDIR. Ah, I follow you. > I don't see how this currently should work, if I set PORT_DBDIR to a > directory I can write to before I build the port as non-root it won't > neither read an existing OPTIONSFILE in the default location nor write > a possibly changed OPTIONSFILE to the new location. I could move around > the OPTIONSFILE before and after installing the port but that's really > messy. > At a first glance I don't see a reason why creation of PORT_DBDIR if > not already existing and writing of the OPTIONSFILE can't be done in > e.g. the fake-pkg target or a new target that's executed directly > before or after fake-pkg. This may work, but it would require some reworking of the existing architecture, and, depending on patch complexity, may require another test build on bento. Did you have something specific to review? Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: marcus@FreeBSD.org gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-LxU0hTc24QenD9MuJ2co Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBADXtvb2iPiv4Uz4cRAtZtAJ98EbWFhitGuz50KtIOZEM+JM5vkwCdGejC 82ADPfj03jOPjpJBfQAKo/Q= =kLtq -----END PGP SIGNATURE----- --=-LxU0hTc24QenD9MuJ2co--