diff options
author | jlam <jlam> | 2004-01-19 23:50:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-19 23:50:20 +0000 |
commit | acaa73ac7a5b4d6cb5b55306a1c3d7c3721fd09b (patch) | |
tree | 636ad622b41a1f96b524cb7c77371d1adbf6587b /lang | |
parent | aafc20bbd664400c316331ada29110931fc8ffd0 (diff) | |
download | pkgsrc-acaa73ac7a5b4d6cb5b55306a1c3d7c3721fd09b.tar.gz |
If PERL5_REQD is at least 5.8, then set BUILDLINK_PKGSRCDIR.perl properly
to point to ../../lang/perl58. This fixes PR 23573 and PR 24031.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/buildlink2.mk | 4 | ||||
-rw-r--r-- | lang/perl5/buildlink3.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/perl5/buildlink2.mk b/lang/perl5/buildlink2.mk index f1331158263..6074c678e05 100644 --- a/lang/perl5/buildlink2.mk +++ b/lang/perl5/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.9 2004/01/13 07:12:01 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.10 2004/01/19 23:50:20 jlam Exp $ .if !defined(PERL5_BUILDLINK2_MK) PERL5_BUILDLINK2_MK= # defined @@ -10,7 +10,7 @@ USE_PERL5?= run PERL5_REQD?= 5.0 BUILDLINK_PACKAGES+= perl BUILDLINK_DEPENDS.perl?= perl>=${PERL5_REQD} -BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5 +BUILDLINK_PKGSRCDIR.perl?= ${PERL5_PKGSRCDIR} .if ${USE_PERL5} == "build" BUILDLINK_DEPMETHOD.perl?= build diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk index baa80d348ce..5300e0a1eab 100644 --- a/lang/perl5/buildlink3.mk +++ b/lang/perl5/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.8 2004/01/19 13:01:39 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.9 2004/01/19 23:50:20 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+ @@ -10,7 +10,7 @@ USE_PERL5?= run PERL5_REQD?= 5.0 BUILDLINK_DEPENDS.perl?= perl>=${PERL5_REQD} -BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5 +BUILDLINK_PKGSRCDIR.perl?= ${PERL5_PKGSRCDIR} . if !empty(USE_PERL5:M[bB][uU][iI][lL][dD]) BUILDLINK_DEPMETHOD.perl?= build |