summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-08-12 09:47:47 +0000
committerasami <asami@FreeBSD.org>1998-08-12 09:47:47 +0000
commitc07d751872ed072f5302455068e9f472b9ff335f (patch)
tree1c8873c842e14eb49c1b3585d6c0d16ddc2a0fb4
parent83a1a3f54192b4d44b8c8005fd239b808921a00d (diff)
downloadFreeBSD-src-c07d751872ed072f5302455068e9f472b9ff335f.zip
FreeBSD-src-c07d751872ed072f5302455068e9f472b9ff335f.tar.gz
Merge 1.227.2.45 (perl version substitution in PLIST).
-rw-r--r--share/mk/bsd.port.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index c12d27a..7eec504 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $Id: bsd.port.mk,v 1.281 1998/08/10 04:02:50 obrien Exp $
+# $Id: bsd.port.mk,v 1.282 1998/08/12 01:47:47 asami Exp $
# $NetBSD: $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
@@ -372,9 +372,14 @@ GNU_CONFIGURE= yes
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
.endif
+PERL_VERSION= 5.00501
+PERL_VER= 5.005
+PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \
+ PERL_VER=${PERL_VER}
+
.if defined(USE_PERL5)
-BUILD_DEPENDS+= perl5.00501:${PORTSDIR}/lang/perl5
-RUN_DEPENDS+= perl5.00501:${PORTSDIR}/lang/perl5
+BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5
+RUN_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5
.endif
.if defined(USE_XLIB)
OpenPOWER on IntegriCloud