From owner-freebsd-ports@FreeBSD.ORG Wed Jun 27 07:26:18 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EC931065670 for ; Wed, 27 Jun 2012 07:26:18 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 517008FC0C; Wed, 27 Jun 2012 07:26:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5R7QIu9076894; Wed, 27 Jun 2012 07:26:18 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5R7QIFU076893; Wed, 27 Jun 2012 07:26:18 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Wed, 27 Jun 2012 09:26:15 +0200 From: Baptiste Daroussin To: perryh@pluto.rain.com Message-ID: <20120627072615.GN41054@ithaqua.etoilebsd.net> References: <4FE8E4A4.9070507@gmail.com> <20120626065732.GH41054@ithaqua.etoilebsd.net> <4feb1433.AnYJ2XYaBfhlzezx%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QGBKWVSgmlsIyJ+t" Content-Disposition: inline In-Reply-To: <4feb1433.AnYJ2XYaBfhlzezx%perryh@pluto.rain.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org, fpeterscom@gmail.com Subject: Re: Port system "problems" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 07:26:18 -0000 --QGBKWVSgmlsIyJ+t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 27, 2012 at 07:09:55AM -0700, perryh@pluto.rain.com wrote: > Baptiste Daroussin wrote: > > On Tue, Jun 26, 2012 at 12:22:28AM +0200, Florent Peterschmitt > > wrote: > > > 2. Why do we have to put WITH_NEW_XORG in /etc/make.conf to > > > get it ? Why not put this var in a port configuration file > > > which will be read by all ports needing this var ? > > > > Because this is not that easy, do you have a technical way to > > propose? >=20 > It would be almost trivial to move ports configuration in general > out of a file that is located in (and thus arguably belongs to) the > base, into one that is clearly related to ports. Just add logic > something like this to /etc/make.conf: >=20 > if { exists /usr/local/etc/make.conf && building a port } > include /usr/local/etc/make.conf > endif >=20 > and put ports configuration in /usr/local/etc/make.conf That is up to you to do that, not to the framework now what happen if you m= ix multiple localbase with the same ports tree? you are doomed, that is why it is not done the the port framework. regards, Bapt --QGBKWVSgmlsIyJ+t Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/qtZcACgkQ8kTtMUmk6Eze0QCfSwYmt94kFvEVnr4ca5Z0C+9/ 15YAniwno0fcT0QFMP5Wl3fPDQGtiTZD =vJZ5 -----END PGP SIGNATURE----- --QGBKWVSgmlsIyJ+t--