summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-11-19 03:53:10 +0000
committerminskim <minskim@pkgsrc.org>2007-11-19 03:53:10 +0000
commit24ad30c540e324f387ace67e1fc5e7e0ba277255 (patch)
tree6929a616cb3b5f9969a9498db3a01f9de0e323ed /lang
parentf9e0b3d0082dcce425c6cb883bf4f97b911778eb (diff)
downloadpkgsrc-24ad30c540e324f387ace67e1fc5e7e0ba277255.tar.gz
When buildlinking perl, set PERL5 to pkgsrc perl, not the one selected
by the tools framework.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/buildlink3.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk
index dba07063d4d..5bca5d6dd66 100644
--- a/lang/perl5/buildlink3.mk
+++ b/lang/perl5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.37 2007/11/18 21:44:56 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.38 2007/11/19 03:53:10 minskim Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+
@@ -17,6 +17,10 @@ PERL5_REQD+= 5.8.7
BUILDLINK_API_DEPENDS.perl+= perl>=${PERL5_REQD}
BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5
+FIND_PREFIX:= PERLDIR=perl
+.include "../../mk/find-prefix.mk"
+PERL5= ${PERLDIR}/bin/perl
+
PERL5_OPTIONS?= # empty
. if !empty(PERL5_OPTIONS:Mthreads)
INSTALL_TEMPLATES+= ${.CURDIR}/../../lang/perl5/files/install_threads.tmpl