From owner-freebsd-ports@FreeBSD.ORG Fri Oct 20 19:55:21 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 D331B16A4E2; Fri, 20 Oct 2006 19:55:21 +0000 (UTC) (envelope-from duane@dwpc.dwlabs.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4296F43DC4; Fri, 20 Oct 2006 19:54:18 +0000 (GMT) (envelope-from duane@dwpc.dwlabs.ca) Received: from ip01.eastlink.ca ([24.222.10.5]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0J7G008UF9ZWVQ90@mta01.eastlink.ca>; Fri, 20 Oct 2006 16:55:08 -0300 (ADT) Received: from blk-224-199-230.eastlink.ca (HELO dwpc.dwlabs.ca) ([24.224.199.230]) by ip01.eastlink.ca with ESMTP; Fri, 20 Oct 2006 16:54:10 -0300 Received: from dwpc.dwlabs.ca (localhost [127.0.0.1]) by dwpc.dwlabs.ca (8.13.8/8.13.8) with ESMTP id k9KJrdVs060826; Fri, 20 Oct 2006 16:53:39 -0300 (ADT envelope-from duane@dwpc.dwlabs.ca) Received: (from duane@localhost) by dwpc.dwlabs.ca (8.13.8/8.13.8/Submit) id k9KJrdaW060825; Fri, 20 Oct 2006 16:53:39 -0300 (ADT envelope-from duane) Date: Fri, 20 Oct 2006 16:53:39 -0300 From: Duane Whitty In-reply-to: <45392217.9070006@FreeBSD.org> To: Doug Barton Message-id: <20061020195339.GF80635@dwpc.dwlabs.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CANrDOEUY4MfmdGdsb2JhbACMIQ X-IronPort-AV: i="4.09,336,1157338800"; d="scan'208"; a="853742198:sNHT34734976" References: <4538884A.5080303@pobox.sk> <45392217.9070006@FreeBSD.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-ports@freebsd.org Subject: Re: priority of make/ports options (?) -- FreeBSD Port: sysutils/portconf 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 19:55:22 -0000 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