From owner-freebsd-ports Fri Oct 2 22:19:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00492 for freebsd-ports-outgoing; Fri, 2 Oct 1998 22:19:58 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA00483; Fri, 2 Oct 1998 22:19:57 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id WAA01079; Fri, 2 Oct 1998 22:19:38 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <3615B3EA.78887E73@dal.net> Date: Fri, 02 Oct 1998 22:19:38 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) MIME-Version: 1.0 To: Satoshi Asami CC: ports@FreeBSD.ORG Subject: Re: bsd.port.mk patch for perl References: <199810030259.TAA20791@silvia.hip.berkeley.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Satoshi Asami wrote: > > * The big problem is that after every minor perl5 update (like v...02 -> > * v...03) every port which have #!${PERL5} sed-substituted in the perl > * script should be reinstalled! > > * ! PERL5= /usr/bin/perl${PERL_VERSION} > * ! PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION} > > * ! PERL5= /usr/bin/perl5 > * ! PERL5= ${LOCALBASE}/bin/perl5 > > I remember there were some arguments for and against it last time this > was proposed (for one thing, we *don't* want to be invoking > perl5.00502 if the port written for perl5.00503 installs manpages). > > Maybe we should just add a new variable for script substitutions (what > was the name, ${PERL5_SHORT})? Yes, I think I posted on this very topic recently. :) Having thought it over some more, and at the risk of damaging Asami-san's sanity, I would suggest that we have: PERL_RELEASE=perl5 PERL_MAJOR=005 PERL_PATCH=02 .if PERL_DIRECTORY=/usr/bin .else PERL_DIRECTORY=/usr/local/bin .endif PERL=${PERL_DIRECTORY}/${PERL_RELEASE} PERL_MEDIUM=${PERL_DIRECTORY}/${PERL_RELEASE}.${PERL_MAJOR} PERL_LONG=${PERL_DIRECTORY}/${PERL_RELEASE}.${PERL_MAJOR}.${PERL_PATCH} If we're going to make the change, my vote is to make it in such a way that it will be easy to change with a few keystrokes in the future. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message