diff options
author | jlam <jlam> | 2005-05-14 21:38:18 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-05-14 21:38:18 +0000 |
commit | d5930367c853859b4d82c0f79ebac55cc688b2fd (patch) | |
tree | bf8023867cf22c8faa849024523445c5cf18c732 /mk/tools/perl.mk | |
parent | dccbe63852579184bdafa2f8f0d3c286502aaa72 (diff) | |
download | pkgsrc-d5930367c853859b4d82c0f79ebac55cc688b2fd.tar.gz |
BUILDLINK_DEPENDS.* can be lists, so iterate over the lists when creating
a proper BUILD_DEPENDS or DEPENDS list.
Diffstat (limited to 'mk/tools/perl.mk')
-rw-r--r-- | mk/tools/perl.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/tools/perl.mk b/mk/tools/perl.mk index 8b703034bfe..e9bdd6bdad5 100644 --- a/mk/tools/perl.mk +++ b/mk/tools/perl.mk @@ -1,4 +1,4 @@ -# $NetBSD: perl.mk,v 1.8 2005/05/12 21:03:46 jlam Exp $ +# $NetBSD: perl.mk,v 1.9 2005/05/14 21:38:18 jlam Exp $ # Create a symlink from ${TOOLS_DIR}/bin/perl to ${PERL5} when USE_PERL5 # is defined. This ensures that when "perl" is invoked, the pkgsrc perl @@ -10,7 +10,12 @@ MAKEFLAGS+= TOOLS_IGNORE.perl= . else . include "../../lang/perl5/buildlink3.mk" TOOLS_DEPMETHOD.perl?= BUILD_DEPENDS -TOOLS_DEPENDS.perl?= ${BUILDLINK_DEPENDS.perl}:${BUILDLINK_PKGSRCDIR.perl} +_TOOLS_DEPENDS.perl= # empty +. for _dep_ in ${BUILDLINK_DEPENDS.perl} +_TOOLS_DEPENDS.perl+= ${_dep_}:${BUILDLINK_PKGSRCDIR.perl} +. endfor +. undef _dep_ +TOOLS_DEPENDS.perl?= ${_TOOLS_DEPENDS.perl} TOOLS_CREATE+= perl FIND_PREFIX:= TOOLS_PREFIX.perl=perl . include "../../mk/find-prefix.mk" |