Date: Sun, 29 Aug 2004 02:06:03 -0700 From: "David O'Brien" <obrien@freebsd.org> To: perl@freebsd.org Subject: (FWD) [PATCH] disable perl 5.8's spamming of /etc/make.conf Message-ID: <20040829090603.GA38690@dragon.nuxi.com>
next in thread | raw e-mail | index | archive | help
tobez doesn't seem to be reading FreeBSD mail. Can anyone here comment on this? also adding 4. /etc/make.conf isn't cleaned out of turds on 'pkg_delete perl-5.8.5' ----- Forwarded message from David O'Brien <obrien@FreeBSD.org> ----- Subject: [PATCH] disable perl 5.8's spamming of /etc/make.conf Date: Wed, 18 Aug 2004 00:16:26 -0700 To: Anton Berezin <tobez@FreeBSD.org> Hi Anton, I'd like to commit this patch: Index: pkg-install =================================================================== RCS file: /home/ncvs/ports/lang/perl5.8/pkg-install,v retrieving revision 1.13 diff -u -u -0 -r1.13 pkg-install --- pkg-install 30 Jul 2004 08:31:19 -0000 1.13 +++ pkg-install 17 Aug 2004 21:59:40 -0000 @@ -24 +24 @@ -if [ $osreldate -ge 502100 ] ; then +if [ $osreldate -lt 500036 ] ; then The purpose is to stop perl5.8 from editing /etc/make.conf in 5-STABLE and 6-CURRENT. I just don't see a need for 'use.perl port' anymore. 1. 'use.perl port' does a poor job of editing /etc/make.conf -- old variable settings aren't removed. 2. When cleaning up the result of 10 invocations of 'use.perl port' over time, I inevitably miss one. And it of course is always not the current version. This causes me to hose my perl5.8 installation the next time I build a port that depends on perl. 3. 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. -- -- David (obrien@FreeBSD.org) ----- End forwarded message -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040829090603.GA38690>