Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 09:26:15 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        perryh@pluto.rain.com
Cc:        ports@freebsd.org, fpeterscom@gmail.com
Subject:   Re: Port system "problems"
Message-ID:  <20120627072615.GN41054@ithaqua.etoilebsd.net>
In-Reply-To: <4feb1433.AnYJ2XYaBfhlzezx%perryh@pluto.rain.com>
References:  <4FE8E4A4.9070507@gmail.com> <20120626065732.GH41054@ithaqua.etoilebsd.net> <4feb1433.AnYJ2XYaBfhlzezx%perryh@pluto.rain.com>

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

--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 <bapt@freebsd.org> 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--



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