cvs commit: ports/Mk bsd.port.mk ports/lang/perl5 Makefile ports/lang/perl5/files use.perl ports/lang/perl5.8 Makefile ports/lang/perl5.8/files use.perl

Anton Berezin tobez at FreeBSD.org
Fri Feb 11 01:07:34 PST 2005


David,

On Fri, Feb 11, 2005 at 12:29:53AM -0800, David O'Brien wrote:
> On Wed, Feb 02, 2005 at 09:34:05AM +0000, Anton Berezin wrote:
> > tobez       2005-02-02 09:34:05 UTC
> ..
> >   Log:
> >   Update bsd.port.mk's notion of the perl version (to 5.8.6) [1].
> >   Use more correct OSVERSION threshold to distinguish between
> >   base system perl and perl from ports - the right value is 500036 [1].
> >   Also, simplify OSVERSION-related logic in lang/perl5 and lang/perl5.8.
> >   Now it goes as follows:
> >   - for lang/perl5.8, if there is perl in the base system, install
> >     use.perl script, use a helpful pkg-message, and do not automatically
> >     update symlinks;
> >   - for lang/perl5.8, if there is no perl in the base system, do not
> >     install use.perl script, and update symlinks automatically;
> 
> I just did 'portupgrade perl-5.8.5' and wound up with 
> 
>     # added by use.perl 2005-02-11 00:18:00
>     PERL_VER=5.8.6
>     PERL_VERSION=5.8.6
>                     
> in my /etc/make.conf.  Can we please stop spamming /etc/make.conf with
> this?  It is a source of very confusing bugs how it overrides
> /usr/ports/Mk/bsd.*.mk for no good reason.

I believe that most of your concerns which you raised back in September
are addressed now, unless I misinterpreted what those concerns were.  In
particular, current versions of both lang/perl5 and lang/perl5.8 do not
produce a stream of "added by use.perl" patches to /etc/make.conf, as it
used to be, so the spamming is definitely less severe now.  As for the
actual patching of /etc/make.conf, I remember you've mentioned that some
people doing embedded work got confused by this.  Let me quote you:

	I know some people using FreeBSD in appliances that have been very
	puzzled that their perl related changes in ports/Mk/bsd.port.mk
	would not take affect -- because they were unknowingly being
    overridden by 'use.perl port's /etc/make.conf values.

I don't think this should be a concern.  For the majority of people the
change in /etc/make.conf is needed.  Those who are modifying bsd.port.mk
should know what they are doing more than most.

\Anton.
-- 
The moronity of the universe is a monotonically increasing function. --
Jarkko Hietaniemi


More information about the cvs-ports mailing list