From owner-freebsd-ports Tue Oct 6 01:01:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26990 for freebsd-ports-outgoing; Tue, 6 Oct 1998 01:01:08 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA26984 for ; Tue, 6 Oct 1998 01:01:06 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca11-102.ix.netcom.com [209.109.237.102]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id BAA17139; Tue, 6 Oct 1998 01:00:55 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id BAA03105; Tue, 6 Oct 1998 01:00:50 -0700 (PDT) Date: Tue, 6 Oct 1998 01:00:50 -0700 (PDT) Message-Id: <199810060800.BAA03105@silvia.hip.berkeley.edu> To: ache@nagual.pp.ru CC: ports@FreeBSD.ORG In-reply-to: <19981006115313.A8985@nagual.pp.ru> (ache@nagual.pp.ru) Subject: Re: bsd.port.mk patch for perl From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Ok for me. Please do not allow this decision disappearse through the * cracks, I already have several ports in hand waiting for it. Please test this patch with those waiting ports. Satoshi ------- Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.port.mk,v retrieving revision 1.227.2.55 diff -u -r1.227.2.55 bsd.port.mk --- bsd.port.mk 1998/09/22 23:59:25 1.227.2.55 +++ bsd.port.mk 1998/10/06 07:56:57 @@ -112,6 +112,9 @@ # USE_PERL5 - Says that the port uses perl5 for building and running. # PERL5 - Set to full path of perl5, either in the system or # installed from a port. +# PERL - Set to full path of perl5, either in the system or +# installed from a port, but without the version number. +# Use this if you need to replace "#!" lines in scripts. # PERL_VERSION - Full version of perl5 (see below for current value). # PERL_VER - Short version of perl5 (see below for current value). # USE_IMAKE - Says that the port uses imake. Implies USE_X_PREFIX. @@ -522,8 +527,10 @@ @${FALSE} .endif PERL5= /usr/bin/perl${PERL_VERSION} +PERL= /usr/bin/perl .else PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION} +PERL= ${LOCALBASE}/bin/perl .if defined(USE_PERL5) BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 RUN_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message