summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-04-26 08:35:38 +0000
committertron <tron@pkgsrc.org>2001-04-26 08:35:38 +0000
commit30af28a87c2199acfc16208503b9398f41f4f601 (patch)
tree434d12fefa74513ea936b393fcf9eef7c40ae05b /mk
parent46c72ab52d5c8dbf69fcdd47fbc0152878e382d7 (diff)
downloadpkgsrc-30af28a87c2199acfc16208503b9398f41f4f601.tar.gz
Add a variable "PERL5_REQD" which can be used to set the minimum required
Perl 5 version. The default is "5.0" for now.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 64b6152c970..9efe509fce9 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.729 2001/04/24 15:30:27 abs Exp $
+# $NetBSD: bsd.pkg.mk,v 1.730 2001/04/26 08:35:38 tron Exp $
#
# This file is in the public domain.
#
@@ -150,7 +150,8 @@ BUILD_DEFS+= KERBEROS
PERL5?= ${LOCALBASE}/bin/perl
.if defined(USE_PERL5)
-DEPENDS+= perl-5.*:../../lang/perl5
+PERL5_REQD?= 5.0
+DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
.if exists(${PERL5})
BUILD_DEPENDS+= perl-mk-1.1:../../pkgtools/perl-mk
.if exists(${LOCALBASE}/share/mk/bsd.perl.mk)