Port system "problems"

Baptiste Daroussin bapt at freebsd.org
Wed Jun 27 07:26:18 UTC 2012


On Wed, Jun 27, 2012 at 07:09:55AM -0700, perryh at pluto.rain.com wrote:
> Baptiste Daroussin <bapt at 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?
> 
> 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:
> 
>   if { exists /usr/local/etc/make.conf && building a port }
>     include /usr/local/etc/make.conf
>   endif
> 
> 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 mix
multiple localbase with the same ports tree?
you are doomed, that is why it is not done the the port framework.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120627/2a66f544/attachment.pgp


More information about the freebsd-ports mailing list