From owner-freebsd-perl@FreeBSD.ORG Thu Feb 16 16:33:54 2006 Return-Path: X-Original-To: perl@freebsd.org 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 8600616A420 for ; Thu, 16 Feb 2006 16:33:54 +0000 (GMT) (envelope-from str@trantor.komkon.org) Received: from trantor.komkon.org (trantor.komkon.org [65.217.243.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4B4243D4C for ; Thu, 16 Feb 2006 16:33:53 +0000 (GMT) (envelope-from str@trantor.komkon.org) Received: from trantor.komkon.org (str@localhost.komkon.org [127.0.0.1]) by trantor.komkon.org (8.13.3/8.13.3) with ESMTP id k1GGXrq2027766; Thu, 16 Feb 2006 11:33:53 -0500 (EST) (envelope-from str@trantor.komkon.org) Received: (from str@localhost) by trantor.komkon.org (8.13.3/8.13.3/Submit) id k1GGXq6c027765; Thu, 16 Feb 2006 11:33:52 -0500 (EST) (envelope-from str) Date: Thu, 16 Feb 2006 11:33:52 -0500 (EST) From: Igor Roshchin Message-Id: <200602161633.k1GGXq6c027765@trantor.komkon.org> To: perl@freebsd.org X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on trantor.komkon.org Cc: Subject: perl version hardcoded in ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 16 Feb 2006 16:33:54 -0000 Hello! I just was upgrading the perl port on a 5.4-R box, and found that many ports that require perl (previously installed via portupgrade) have it hardcoded with the version number, e.g. monthly:#!/usr/local/bin/perl5.8.6 oldlog2new:#!/usr/local/bin/perl5.8.6 sa-learn:#!/usr/local/bin/perl5.8.6 -T -w sa-update:#!/usr/local/bin/perl5.8.6 -T -w spamassassin:#!/usr/local/bin/perl5.8.6 -T -w spamd:#!/usr/local/bin/perl5.8.6 -T -w splitlog:#!/usr/local/bin/perl5.8.6 wwwerrs:#!/usr/local/bin/perl5.8.6 wwwstat:#!/usr/local/bin/perl5.8.6 In this case most of the files are from wwwstat and spamassassin. While it might be warranted in some instances, I don't believe it is really required for many (if not most) of these packages. I think they should use /usr/local/bin/perl instead. I suspect, that it is the fault of the mechanism built in the portupgrade (or ports building system) Best regards, Igor Igor Roshchin System Administrator KomKon Sites