summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-13 08:20:08 +0000
committerjlam <jlam>2003-09-13 08:20:08 +0000
commit19e7817d5f1c0268582494bed091ec65b98dec27 (patch)
treefe837232e2dd586cf02e7b187302bb84e32fb605 /mk
parent08704b920c58b274a6a7308a512699a412a95daa (diff)
downloadpkgsrc-19e7817d5f1c0268582494bed091ec65b98dec27.tar.gz
Don't add the perl dependency in bsd.pkg.mk if BUILDLINK_DEPENDS.perl is
defined (which signals that a buildlink[23].mk file will be included).
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 3ca96f11736..b7c59d4e444 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1276 2003/09/13 06:21:36 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1277 2003/09/13 08:20:08 jlam Exp $
#
# This file is in the public domain.
#
@@ -269,7 +269,7 @@ USE_PERL5:= run
_PERL5_DEPMETHOD= DEPENDS
. endif
_PERL5_DEPENDS= perl>=${PERL5_REQD}
-. if !defined(PERL5_BUILDLINK2_MK)
+. if !defined(BUILDLINK_DEPENDS.perl)
${_PERL5_DEPMETHOD}+= ${_PERL5_DEPENDS}:${PERL5_PKGSRCDIR}
. endif
.endif