Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 11:53:35 -0500
From:      Lane <lane@joeandlane.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: HOWTO: run portupgrade with original options for perl5.8
Message-ID:  <200610231153.36007.lane@joeandlane.com>
In-Reply-To: <453CEA82.6060408@unsane.co.uk>
References:  <200610231106.10504.lane@joeandlane.com> <453CEA82.6060408@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 23 October 2006 11:14, Vince wrote:
> Lane 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?
>
> the config file for portupgrade is  /usr/local/etc/pkgtools.conf which
> contains a config line of
> MAKE_ARGS = {
> }
>
> either read the inline comments to get the idea what to add here and
> tune for your site or just change this to
> MAKE_ARGS = {
> 'lang/perl5.8' => 'ENABLE_SUIDPERL=YES',
> }
>
> To fix your issue.
>
>
> Vince
>
> > Thanks!
> >
> > lane
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

Zoinks!

Thanks to everyone who pointed out /usr/local/etc/pkgtools.conf

Sorry for the noise.  I'll rtfm on pkgtools right away.

lane



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610231153.36007.lane>