diff options
Diffstat (limited to 'lang/perl5/buildlink2.mk')
-rw-r--r-- | lang/perl5/buildlink2.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/perl5/buildlink2.mk b/lang/perl5/buildlink2.mk index 88813cf3c6b..3cb17ff63b4 100644 --- a/lang/perl5/buildlink2.mk +++ b/lang/perl5/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.3 2002/08/25 19:41:18 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.4 2002/09/05 20:43:19 jlam Exp $ .if !defined(PERL5_BUILDLINK2_MK) PERL5_BUILDLINK2_MK= # defined @@ -12,6 +12,10 @@ BUILDLINK_PACKAGES+= perl BUILDLINK_DEPENDS.perl?= perl>=${PERL5_REQD} BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5 +.if ${USE_PERL5} == "build" +BUILDLINK_DEPMETHOD.perl?= build +.endif + EVAL_PREFIX+= BUILDLINK_PREFIX.perl=perl BUILDLINK_PREFIX.perl_DEFAULT= ${LOCALBASE} PERL5?= ${BUILDLINK_PREFIX.perl}/bin/perl |