(FWD) [PATCH] disable perl 5.8's spamming of /etc/make.conf

David O'Brien obrien at freebsd.org
Tue Aug 31 12:33:32 PDT 2004


Hi Anton,

On Tue, Aug 31, 2004 at 07:57:42PM +0200, Anton Berezin wrote:
> On Sun, Aug 29, 2004 at 02:06:03AM -0700, David O'Brien wrote:
> > tobez doesn't seem to be reading FreeBSD mail.
> > Can anyone here comment on this?
> Sorry I did not answer your mail before, since I was on vacation.

Sorry that I didn't notice that earlier.

> This patch would not do, since replacing -ge with -lt will lead to
> use.perl port being executed automatically for 4.X, which we definitely 
> not want.

Ah, yes that's not so good.
 
> Alternatively, we can get rid of use.perl for 5.X and 6-CURRENT, take
> care of manpath.config in some other way (probably by properly
> maintaining manpath.config in the system sources, which has its own
> ugly side), and then do something like
> 
> if [ $osreldate -ge 500032 -a $osreldate -le 502100 ] ; then
> 
> in pkg-install, so that we still get the `traditional' behavior in older
> 5.X's.
> 
> What do you think?

I like your alternative suggestion, and in fact highly prefer it.
We could also make 'use.perl' only handle the manpath.config part.  I
just don't see the need for PERL_VER, PERL_VERSION, PERL_ARCH, NOPERL,
NO_PERL, and NO_PERL_WRAPPER in every /etc/make.conf in the world on 5.3
and later.

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-perl mailing list