Date: Mon, 23 Oct 2006 23:54:12 +0100 From: RW <list-freebsd-2004@morbius.sent.com> To: freebsd-questions@freebsd.org Subject: Re: HOWTO: run portupgrade with original options for perl5.8 Message-ID: <200610232354.14469.list-freebsd-2004@morbius.sent.com> In-Reply-To: <8cb6106e0610230923o73c5f2f6p8c1d79568d243fbe@mail.gmail.com> References: <200610231106.10504.lane@joeandlane.com> <8cb6106e0610230923o73c5f2f6p8c1d79568d243fbe@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 23 October 2006 17:23, Josh Carroll wrote: > For ports without "make config" you can edit > /usr/local/etc/pkgtools.conf and edit MAKE_ARGS, something like: > > MAKE_ARGS = { > 'lang/perl5.8' => 'ENABLE_SUIDPERL=yes', > } > > Of course, this only affects portupgrade/portinstall/etc. If you want > it to work for manual building of the port with make in the port dir, > you can alternatively edit /etc/make.conf and add something like: > > .if ${.CURDIR:M*/lang/perl5.8} > ENABLE_SUIDPERL=yes > .endif There is also sysutils/portconf that abstracts this approach. Setting flags in pkgtools.conf doesn't always work because sometimes a port will be installed as a side-effect of another port and wont get the correct arguments from MAKE_ARGS.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610232354.14469.list-freebsd-2004>