Date: Fri, 02 Oct 1998 22:19:38 -0700 From: Studded <Studded@dal.net> To: Satoshi Asami <asami@FreeBSD.ORG> Cc: ports@FreeBSD.ORG Subject: Re: bsd.port.mk patch for perl Message-ID: <3615B3EA.78887E73@dal.net> References: <199810030259.TAA20791@silvia.hip.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <this is 3.0> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3615B3EA.78887E73>