Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2008 15:45:48 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Alex Dupre <ale@freebsd.org>
Cc:        ports@freebsd.org, Doug Barton <dougb@freebsd.org>
Subject:   Re: OPTIONS handling doesn't seem to work fully in dependencies	anymore
Message-ID:  <200809181545.48487.jhb@freebsd.org>
In-Reply-To: <48D2A979.7090809@FreeBSD.org>
References:  <200809151036.19674.jhb@freebsd.org> <200809181033.56619.jhb@freebsd.org> <48D2A979.7090809@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 18 September 2008 03:18:17 pm Alex Dupre wrote:
> John Baldwin wrote:
> > Trust me, since I rebuild from scratch all the time, I quite remember when 
> > options were first added and I'd kick off a build of kde or some such 
> > overnight and check my screen session in the morning only find it hadn't 
> > build hardly anything b/c it had popped up the option screen for 
gettext. :)
> 
> Me, too, really :-) But kde3 meta-port doesn't use the OPTIONS 
> framework, even if it displays the dialog box. And when the OPTIONS 
> framework was added, very few ports actually used it, so it was very 
> very rare to incur in *direct* dependencies between two OPTIONS-enabled 
> ports. The kde4 meta-port now uses it, so it became obvious that 
> something wasn't working as expected when you tried to build it.

Ahh, I think I see now.  It requires one OPTIONS using port to mask the 
dependencies.

> > I wonder why it has to be this hackish btw.  Could config-conditional 
simply 
> > be in the list of targets before 'fetch' or some such?
> 
> I thought the same thing, probably yes, but I dunno why it was added in 
> such way from the beginning, so I tried to create the simplest and 
> surely working patch maintaining the current workflow.

Ok.

-- 
John Baldwin



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