Date: Mon, 02 Jan 2006 21:18:11 +0100 From: martinko <martinkov@pobox.sk> To: freebsd-ports@freebsd.org Subject: Re: pkgtools.conf make arguments ignored (?!?) Message-ID: <43B98A83.5050304@pobox.sk> In-Reply-To: <200512122112.14170.list-freebsd-2004@morbius.sent.com> References: <dnhgge$uv0$1@sea.gmane.org> <200512122112.14170.list-freebsd-2004@morbius.sent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B98A83.5050304>