From owner-freebsd-ports@FreeBSD.ORG Fri Oct 20 14:23:19 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 415BF16A412 for ; Fri, 20 Oct 2006 14:23:19 +0000 (UTC) (envelope-from rcbdyndns@bellsouth.net) Received: from imf23aec.mail.bellsouth.net (imf23aec.mail.bellsouth.net [205.152.59.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97DAA43D67 for ; Fri, 20 Oct 2006 14:23:18 +0000 (GMT) (envelope-from rcbdyndns@bellsouth.net) Received: from ibm66aec.bellsouth.net ([74.226.113.91]) by imf23aec.mail.bellsouth.net with ESMTP id <20061020142313.BDNI12526.imf23aec.mail.bellsouth.net@ibm66aec.bellsouth.net> for ; Fri, 20 Oct 2006 10:23:13 -0400 Received: from [192.168.0.102] (really [74.226.113.91]) by ibm66aec.bellsouth.net with ESMTP id <20061020142312.GMIM6138.ibm66aec.bellsouth.net@[192.168.0.102]> for ; Fri, 20 Oct 2006 10:23:12 -0400 Message-ID: <4538DBCF.8080107@bellsouth.net> Date: Fri, 20 Oct 2006 09:23:11 -0500 From: B Briggs User-Agent: Thunderbird 1.5.0.7 (X11/20061016) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: priority of make/ports options (?) -- FreeBSD Port: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 14:23:19 -0000 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