summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-06 08:10:40 +0000
committerjlam <jlam>2002-09-06 08:10:40 +0000
commitac6efd0087662dcfaaaeb5775878d262211c24de (patch)
tree34c4f5dd088335d830e2f775073933442499a6f7 /mk
parentcb82b21a0e015689b386f05a92d60d9cc00a44ab (diff)
downloadpkgsrc-ac6efd0087662dcfaaaeb5775878d262211c24de.tar.gz
Don't add the perl dependency if perl5/buildlink2.mk is included as the
buildlink2.mk file has it's own logic for how to add the perl dependency.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index e7fc48f5537..62ac0af70df 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1042 2002/09/02 02:42:26 abs Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1043 2002/09/06 08:10:40 jlam Exp $
#
# This file is in the public domain.
#
@@ -259,7 +259,9 @@ USE_PERL5:= run
_PERL5_DEPMETHOD= DEPENDS
. endif
_PERL5_DEPENDS= perl>=${PERL5_REQD}
+. if !defined(PERL5_BUILDLINK2_MK)
${_PERL5_DEPMETHOD}+= ${_PERL5_DEPENDS}:${PERL5_PKGSRCDIR}
+. endif
.endif
.if defined(USE_PERL5) && (${USE_PERL5} == "run")