From owner-freebsd-questions@FreeBSD.ORG Fri Oct 20 19:56:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 938D216A494; Fri, 20 Oct 2006 19:56:22 +0000 (UTC) (envelope-from gamato@pobox.sk) Received: from exchange.cleverlance.com (exchange.cleverlance.com [82.119.241.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 751C943DD2; Fri, 20 Oct 2006 19:55:37 +0000 (GMT) (envelope-from gamato@pobox.sk) Received: from [192.168.1.67] ([192.168.1.67]) by exchange.cleverlance.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 20 Oct 2006 21:55:30 +0200 Message-ID: <453929B1.4090209@pobox.sk> Date: Fri, 20 Oct 2006 21:55:29 +0200 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.7) Gecko/20061013 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Doug Barton References: <4538884A.5080303@pobox.sk> <45392217.9070006@FreeBSD.org> In-Reply-To: <45392217.9070006@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Oct 2006 19:55:30.0334 (UTC) FILETIME=[B2249BE0:01C6F481] Cc: freebsd-ports@freebsd.org, FreeBSD Questions , ale@FreeBSD.org Subject: Re: priority of make/ports options (?) -- FreeBSD Port: sysutils/portconf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 19:56:22 -0000 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 > Doug, thank you for the idea! Meanwhile, when I was going to check it, I found out that I mistyped (originally) my knob -- it should be WITH_GECKO=xulrunner (not USE_GECKO) -- and it works now, too! :-) Anyway, I'm going to move port related knobs from make.conf to ports.conf (which wasn't available at the time I populated my make.conf). With regards, Martin