From owner-freebsd-perl@FreeBSD.ORG Mon Jan 31 10:00:42 2005 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 02FF116A4CE for ; Mon, 31 Jan 2005 10:00:42 +0000 (GMT) Received: from mail.3wgraphics.com (mail.3wgraphics.com [194.87.91.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D45843D1D for ; Mon, 31 Jan 2005 10:00:41 +0000 (GMT) (envelope-from skv@protey.ru) Received: from [192.168.0.1] (helo=[192.168.0.1]) by mail.3wgraphics.com with esmtp id 1CvYMJ-00056N-S2 for perl@FreeBSD.org; Mon, 31 Jan 2005 13:00:39 +0300 Message-ID: <41FE01C7.50609@protey.ru> Date: Mon, 31 Jan 2005 13:00:39 +0300 From: Sergey Skvortsov Organization: 3W Graphics User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122 X-Accept-Language: en,ru MIME-Version: 1.0 To: perl@FreeBSD.org References: <20050129202425.GA56998@heechee.tobez.org> In-Reply-To: <20050129202425.GA56998@heechee.tobez.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [HEADS UP] perl symlinks in /usr/bin will be gone 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: Mon, 31 Jan 2005 10:00:42 -0000 Anton Berezin wrote: > Unless I hear too many cries "don't do that" (with justification), I > I plan to not create any perl symlinks in /usr/bin in the forthcoming Very bad idea - it is not "perl-like" at all. Just a cite from "perlrun": Location of Perl It may seem obvious to say, but Perl is useful only when users can eas- ily find it. When possible, it's good for both /usr/bin/perl and /usr/local/bin/perl to be symlinks to the actual binary. If that can't be done, system administrators are strongly encouraged to put (symlinks to) perl and its accompanying utilities into a directory typically found along a user's PATH, or in some other obvious and convenient place. To remove dangling symlinks in pkg-plist: @unexec [ -L %B/perl5 && ! -x %B/perl5 ] && rm %B/perl5 or a little more sophisticated expression (to restore previous perl-5.00503 on FreeBSD 4.x for example). -- Sergey Skvortsov mailto: skv@protey.ru