Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 01:00:50 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        ache@nagual.pp.ru
Cc:        ports@FreeBSD.ORG
Subject:   Re: bsd.port.mk patch for perl
Message-ID:  <199810060800.BAA03105@silvia.hip.berkeley.edu>
In-Reply-To: <19981006115313.A8985@nagual.pp.ru> (ache@nagual.pp.ru)

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810060800.BAA03105>