From owner-freebsd-perl@FreeBSD.ORG Tue Aug 31 17:57:48 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77A3516A4CF; Tue, 31 Aug 2004 17:57:48 +0000 (GMT) Received: from heechee.tobez.org (heechee.tobez.org [217.157.39.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D68B43D2F; Tue, 31 Aug 2004 17:57:45 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id B7814175AA; Tue, 31 Aug 2004 19:57:42 +0200 (CEST) Date: Tue, 31 Aug 2004 19:57:42 +0200 From: Anton Berezin To: David O'Brien Message-ID: <20040831175742.GB49824@heechee.tobez.org> References: <20040829090603.GA38690@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040829090603.GA38690@dragon.nuxi.com> User-Agent: Mutt/1.5.6i cc: perl@freebsd.org Subject: Re: (FWD) [PATCH] disable perl 5.8's spamming of /etc/make.conf X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 17:57:48 -0000 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? Hi David, Sorry I did not answer your mail before, since I was on vacation. 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. Actually, I am not entirely sure that use.perl is obsolete in 5.X and 6-CURRENT, since it also tinkers with /etc/manpath.config. I think the right thing to do would be to make use.perl script slightly more intelligent and _edit_ make.conf instead of appending to it. 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? > 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. > 4. /etc/make.conf isn't cleaned out of turds on 'pkg_delete perl-5.8.5' Cheers, \Anton. -- The moronity of the universe is a monotonically increasing function. -- Jarkko Hietaniemi