summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-02 04:33:53 +0000
committerjlam <jlam@pkgsrc.org>2005-05-02 04:33:53 +0000
commit1a165c65281f31f89e765cd606c9d6831ebae811 (patch)
tree2408efde1814d39d3bd2e15995769dfa8f9e4780 /mk
parent4ba6c74f9306a0e18a429b35c0942e5830d87050 (diff)
downloadpkgsrc-1a165c65281f31f89e765cd606c9d6831ebae811.tar.gz
PERL5 shouldn't be recursively defined.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/perl.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/perl.mk b/mk/tools/perl.mk
index 84d177f292a..2e4fef75236 100644
--- a/mk/tools/perl.mk
+++ b/mk/tools/perl.mk
@@ -1,4 +1,4 @@
-# $NetBSD: perl.mk,v 1.3 2005/04/28 03:01:11 jlam Exp $
+# $NetBSD: perl.mk,v 1.4 2005/05/02 04:33:53 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
@@ -12,7 +12,7 @@ MAKEFLAGS+= TOOLS_IGNORE.perl=
TOOLS_DEPMETHOD.perl?= BUILD_DEPENDS
TOOLS_DEPENDS.perl?= ${BUILDLINK_DEPENDS.perl}:${BUILDLINK_PKGSRCDIR.perl}
TOOLS_SYMLINK+= perl
-TOOLS_REAL_CMD.perl= ${PERL5}
+TOOLS_REAL_CMD.perl= ${LOCALBASE}/bin/perl
. if exists(${TOOLS_REAL_CMD.perl})
PERL5= ${TOOLS_REAL_CMD.perl}
. endif