summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-08-12 09:47:47 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-08-12 09:47:47 +0000
commitca335ee595c60f4784cc8498e5b1feb294c135bb (patch)
tree21eb28490a51c3ba1f6bae2af6d567c36c52786f /Mk/bsd.port.mk
parentReplace qt dependencies with USE_QT. (diff)
Merge 1.227.2.45 (perl version substitution in PLIST).
Notes
Notes: svn path=/head/; revision=12471
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index c12d27ab9179..7eec504d2969 100644
--- a/Mk/bsd.port.mk
+++ b/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)