diff options
author | minskim <minskim> | 2007-11-19 03:53:10 +0000 |
---|---|---|
committer | minskim <minskim> | 2007-11-19 03:53:10 +0000 |
commit | 5b8a9b6ac4fe9600f2b3a9513830fc94047a564a (patch) | |
tree | 6929a616cb3b5f9969a9498db3a01f9de0e323ed /lang | |
parent | df1be65968ba499bdf1a24855057bd443237a757 (diff) | |
download | pkgsrc-5b8a9b6ac4fe9600f2b3a9513830fc94047a564a.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.mk | 6 |
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 |