From owner-freebsd-ports@FreeBSD.ORG Tue Jan 16 12:05:47 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94FE616A4B3 for ; Tue, 16 Jan 2007 12:05:47 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3464713C465 for ; Tue, 16 Jan 2007 12:05:44 +0000 (UTC) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id CC12D12542C; Tue, 16 Jan 2007 12:38:29 +0100 (CET) Date: Tue, 16 Jan 2007 12:38:29 +0100 From: Anton Berezin To: Peter Losher Message-ID: <20070116113829.GA78527@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Peter Losher , ports@freebsd.org References: <45AAF515.8050101@isc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45AAF515.8050101@isc.org> User-Agent: Mutt/1.4.2.2i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: ports@freebsd.org Subject: Re: Updating perl entries in make.conf (via package) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 12:05:47 -0000 Peter, On Sun, Jan 14, 2007 at 07:29:25PM -0800, Peter Losher wrote: > I am updating several 5.x machines, and in the process updating the perl > packages from 5.6.x to 5.8.x. What I have noticed is that if you are > installing a package on a new system, the package installs the symlinks > in /usr/bin and puts the Perl env variables in /etc/make.conf (as expected). > > However, when updating (via pkg_delete -a, then pkg_add or portupgrade) > the symlinks aren't maintained and the perl variables are not modified. > And the use.perl script seems to no longer exist (or I'd just have > portupgrade run 'use.perl port' after updating the perl package) > > Is there a new/better way that perl is updated via packages so that the > symlinks are maintained and the entries in /etc/make.conf are updated > with the new perl version? This looks like a bug; in my tests package installation did all what you describe here. Without knowing your configuration in better detail, it is difficult to find out why you observe such behavior. \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen