From owner-freebsd-ports@FreeBSD.ORG Mon Jan 2 20:30:47 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 9C15916A41F for ; Mon, 2 Jan 2006 20:30:47 +0000 (GMT) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D227F43D46 for ; Mon, 2 Jan 2006 20:30:46 +0000 (GMT) (envelope-from freebsd-ports@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EtWKF-0001Ok-9p for freebsd-ports@freebsd.org; Mon, 02 Jan 2006 21:30:39 +0100 Received: from r5k4.chello.upc.cz ([86.49.10.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jan 2006 21:30:39 +0100 Received: from martinkov by r5k4.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jan 2006 21:30:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: martinko Date: Mon, 02 Jan 2006 21:18:23 +0100 Lines: 43 Message-ID: <43B98A8F.8060806@pobox.sk> References: <200512122112.14170.list-freebsd-2004@morbius.sent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k4.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051205 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <200512122112.14170.list-freebsd-2004@morbius.sent.com> Sender: news 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, 02 Jan 2006 20:30:47 -0000 RW wrote: > 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 > _______________________________________________ well, i thought portupgrade was the right tool for this. but from your explanation it looks like one would need to compile ports twice to achive one's goal. :-( thanks for your trick with make.conf, it seems to do a job. i'll have a look at it later..