Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 16:53:39 -0300
From:      Duane Whitty <duane@dwlabs.ca>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: priority of make/ports options (?) -- FreeBSD Port: sysutils/portconf
Message-ID:  <20061020195339.GF80635@dwpc.dwlabs.ca>
In-Reply-To: <45392217.9070006@FreeBSD.org>
References:  <4538884A.5080303@pobox.sk> <45392217.9070006@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 20, 2006 at 12:23:03PM -0700, Doug Barton wrote:
> 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 ?
> 
> Don't set global knobs in make.conf. Set them in ports.conf like this:
> 
> *:		WITH_GECKO=seamonkey
> x11/yelp:	WITH_MAN | WITH_INFO | USE_GECKO=xulrunner
> 
> That should give you the precedence that you need.
> 
> hth,
> 
> Doug
> 
> -- 
> 
>     This .signature sanitized for your protection

Hi Doug,

I must ask, shouldn't the OP be using portmaster in order
to use ports.conf?  Isn't portinstall == portupgrade -N
which uses pkgtools.conf?

Best Regards,

Duane Whitty



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