summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-11-19 00:40:14 +0000
committerminskim <minskim@pkgsrc.org>2007-11-19 00:40:14 +0000
commit4d09ed8f21b6452daf23a1af38f37ec927b0d32b (patch)
tree08b79063d873a097ccfa3efdce0ef8771caa552b /mk
parentb1f61045d9c19f48b3c88799c61117954849e1d5 (diff)
downloadpkgsrc-4d09ed8f21b6452daf23a1af38f37ec927b0d32b.tar.gz
Do not define PERL5 as a tool when building devel/perl5, which defines
its own PERL5 in Makefile.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/perl.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/perl.mk b/mk/tools/perl.mk
index 8423e9306e3..0973cb2f139 100644
--- a/mk/tools/perl.mk
+++ b/mk/tools/perl.mk
@@ -1,4 +1,4 @@
-# $NetBSD: perl.mk,v 1.21 2006/07/10 08:13:37 rillig Exp $
+# $NetBSD: perl.mk,v 1.22 2007/11/19 00:40:14 minskim Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -65,5 +65,7 @@ TOOLS_${_TOOLS_VARNAME.perl}?= ${TOOLS_PLATFORM.perl}
. else
TOOLS_${_TOOLS_VARNAME.perl}?= ${LOCALBASE}/bin/perl
. endif
+. if empty(PKGNAME:Mperl-[0-9]*)
${_TOOLS_VARNAME.perl}?= ${TOOLS_${_TOOLS_VARNAME.perl}}
+. endif
.endif