Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 09:23:11 -0500
From:      B Briggs <rcbdyndns@bellsouth.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: priority of make/ports options (?) -- FreeBSD Port:
Message-ID:  <4538DBCF.8080107@bellsouth.net>
In-Reply-To: <eha1fc$12vg$1@FreeBSD.csie.nctu.edu.tw>
References:  <eha1fc$12vg$1@FreeBSD.csie.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
martinko wrote:
> Hello,
> 
> I'm using portconf to set ports' knobs.  Also I'm setting some general
> knobs via make.conf.
> 
> Now I've run into this situation:
> - i've got WITH_GECKO=seamonkey in /etc/make.conf
> - yelp from new gnome 2.16 does not build with knob above. therefore in
> /usr/local/etc/ports.conf i set:
> x11/yelp: WITH_MAN | WITH_INFO | USE_GECKO=xulrunner
> Unfortunately it does not work as I intended -- when I `portinstall
> gnome2-lite` it tries to build yelp WITH_GECKO=seamonkey. :-/
> 
> How can I solve this pls ??
> How can I specify a general knob and then override it for some ports ?
> 
> Cheers,
> 
> Martin

WITH_GECKO, if set, overrides USE_GECKO, see
/usr/ports/www/mozilla/bsd.gecko.mk

Have you tried WITH_GECKO=xulrunner in ports.conf[x11/yelp]?
And I would move WITH_GECKO=seamonkey from make.conf to ports.conf, 
possibly the first line:
*:WITH_GECKO=seamonkey
Assuming that it's a global in make.conf.

Then hopefully the x11/yelp port will override WITH_GECKO.

-- 
B Briggs



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