From owner-freebsd-questions@FreeBSD.ORG Fri Oct 20 19:24:14 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 EE46816A415 for ; Fri, 20 Oct 2006 19:24:14 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 68D4843DE9 for ; Fri, 20 Oct 2006 19:23:09 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 27601 invoked by uid 399); 20 Oct 2006 19:23:05 -0000 Received: from localhost (HELO ?156.154.4.96?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 20 Oct 2006 19:23:05 -0000 Message-ID: <45392217.9070006@FreeBSD.org> Date: Fri, 20 Oct 2006 12:23:03 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: martinko References: <4538884A.5080303@pobox.sk> In-Reply-To: <4538884A.5080303@pobox.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:24:15 -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 ? 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