Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 17:14:58 +0100
From:      Vince <jhary@unsane.co.uk>
To:        Lane <lane@joeandlane.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: HOWTO: run portupgrade with original options for perl5.8
Message-ID:  <453CEA82.6060408@unsane.co.uk>
In-Reply-To: <200610231106.10504.lane@joeandlane.com>
References:  <200610231106.10504.lane@joeandlane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




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