From owner-freebsd-ports@FreeBSD.ORG Mon Dec 12 21:12:29 2005 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 04F4916A41F for ; Mon, 12 Dec 2005 21:12:29 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id B72CF43D88 for ; Mon, 12 Dec 2005 21:12:17 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id B1535D24277 for ; Mon, 12 Dec 2005 16:12:15 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Mon, 12 Dec 2005 16:12:15 -0500 X-Sasl-enc: CcOiME6lr4XusE0jCoOnN9RGebD2Zir3K34Xx3Axmfi6 1134421934 Received: from gumby.localdomain (88-104-200-164.dynamic.dsl.as9105.com [88.104.200.164]) by frontend2.messagingengine.com (Postfix) with ESMTP id 9F2725713C0 for ; Mon, 12 Dec 2005 16:12:14 -0500 (EST) From: RW To: freebsd-ports@freebsd.org Date: Mon, 12 Dec 2005 21:12:12 +0000 User-Agent: KMail/1.8.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512122112.14170.list-freebsd-2004@morbius.sent.com> Subject: Re: pkgtools.conf make arguments ignored (?!?) 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: Mon, 12 Dec 2005 21:12:29 -0000 On Sunday 11 December 2005 15:27, martinko wrote: > hello, > > i'm having troubles with specifying make arguments to portupgrade via > /usr/local/etc/pkgtools.conf. > this is a part of my config file: > > MAKE_ARGS = { > 'x11/yelp' => 'WITH_MAN=1 WITH_INFO=1 WITH_GECKO=mozilla', > } > > it works only if i run `portupgrade -N yelp` > but it does not work when i run eg `portupgrade -N gnome2-lite` > > interesting thing is that according to pkgtools.conf itself the > following should work too but it does not : > > MAKE_ARGS = { > 'x11/yelp-*' => 'WITH_MAN=1 WITH_INFO=1 WITH_GECKO=mozilla', > } > > is this a known issue (and why?) or am i doing something wrong ?? > The reason is that portupgrade -N gnome2-lite only builds gnome2-lite, and yelp gets built by the ports system as a side effect. Once the ports are in the the package database, portupgrade will handle the MAKE_ARGS correctly. I do this kind of thing with entries in make.conf like this: .if ${.CURDIR:M*/www/linuxpluginwrapper} WITH_PLUGINS=yes .endif