HOWTO: run portupgrade with original options for perl5.8

Josh Carroll josh.carroll at
Mon Oct 23 16:24:27 UTC 2006

For ports without "make config" you can edit
/usr/local/etc/pkgtools.conf and edit MAKE_ARGS, something like:

      '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}


On 10/23/06, Lane <lane at> wrote:
> Hello,
> I run openwebmail which wants perl compiled -DENABLE_SUIDPERL
> However, when I portupgrade perl, this option is apparently not reused, and
> openwebmail fails until I recompile perl.
> I note that there is no entry for perl in /var/db/ports (i.e. no "options" are
> recorded).
> I also note that the /options that are present for other ports contain the
> header:
> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> and when I run make config from /usr/ports/lang/perl5.8 I get
> ===> No options to configure
> So the question is:  How do I get portupgrade to remember the options I used
> when I compiled perl?
> Thanks!
> lane
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list