From owner-freebsd-ports@FreeBSD.ORG Sun Jan 30 13:44:43 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BBFB16A4CE; Sun, 30 Jan 2005 13:44:43 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 839C243D1D; Sun, 30 Jan 2005 13:44:42 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from localhost (localhost [127.0.0.1])72C9844234; Sun, 30 Jan 2005 14:44:41 +0100 (CET) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09996-04; Sun, 30 Jan 2005 14:44:40 +0100 (CET) Received: from m2a2.dyndns.org (p548544A4.dip.t-dialin.net [84.133.68.164]) 8CD3C44232; Sun, 30 Jan 2005 14:44:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id AE92877701; Sun, 30 Jan 2005 14:44:39 +0100 (CET) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17397-05; Sun, 30 Jan 2005 14:44:38 +0100 (CET) Received: by merlin.emma.line.org (Postfix, from userid 500) id 99D5877A1B; Sun, 30 Jan 2005 14:44:38 +0100 (CET) From: Matthias Andree To: Matthias Andree In-Reply-To: <20050130030837.GA87780@falcon.midgard.homeip.net> (Erik Trulsson's message of "Sun, 30 Jan 2005 04:08:37 +0100") References: <20050129202425.GA56998@heechee.tobez.org> <20050129220905.46ab86ae.lehmann@ans-netz.de> <20050130030837.GA87780@falcon.midgard.homeip.net> Date: Sun, 30 Jan 2005 14:44:38 +0100 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: perl@freebsd.org cc: freebsd-ports@freebsd.org cc: freebsd-stable@freebsd.org cc: tobez@freebsd.org Subject: Re: [HEADS UP] perl symlinks in /usr/bin will be gone X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 13:44:43 -0000 Erik Trulsson writes: >> Hardcoded paths in scripts are a mess. What if I installed Perl into >> /opt/mumble on some other machine? /usr/freeware? /what/ever? Changed >> $PREFIX and/or $LOCALBASE? > > Then you would have nobody but yourself to blame. So ports not heeding PREFIX or LOCALBASE aren't buggy? Interesting POV. > And what about all the scripts that administrators and users write that > are not part of any port? Scripts that were written according to the > de-facto standard that having '#!/usr/bin/perl' on the first line of > the script will work correctly. As mentioned before, #! /usr/bin/env perl is the canonic SHORT way to run perl, longer ways are in perlrun(1). -- Matthias Andree