diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-06 08:10:40 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-06 08:10:40 +0000 |
commit | e5981c7c8d82fef457c1ce9955ec934741c1c980 (patch) | |
tree | 34c4f5dd088335d830e2f775073933442499a6f7 /mk | |
parent | 2552a2329cee58a709c48ce044ea88a93607bf62 (diff) | |
download | pkgsrc-e5981c7c8d82fef457c1ce9955ec934741c1c980.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.mk | 4 |
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") |