summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-05-09 02:13:01 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-05-09 02:13:01 +0000
commit2398fb901f531c703d0455446201f6c7ee204939 (patch)
treeb6844ce9921311103b6b83956bced3db8172d754 /mk
parentd0e1e5b913c5b0626db2e43cff0812ae46c97629 (diff)
downloadpkgsrc-2398fb901f531c703d0455446201f6c7ee204939.tar.gz
put the PERL5_REQD outside the USE_PERL5 check so packages can do:
BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index d396396e87f..f71d35fc996 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.731 2001/05/03 13:01:04 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.732 2001/05/09 02:13:01 dmcmahill Exp $
#
# This file is in the public domain.
#
@@ -149,8 +149,8 @@ BUILD_DEFS+= KERBEROS
.endif
PERL5?= ${LOCALBASE}/bin/perl
-.if defined(USE_PERL5)
PERL5_REQD?= 5.0
+.if defined(USE_PERL5)
DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
.if exists(${PERL5})
BUILD_DEPENDS+= perl-mk-1.1:../../pkgtools/perl-mk