From a6d5e3f2f94419735bf409aa58bd0170c5f8d5bd Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 5 Sep 2002 20:43:19 +0000 Subject: If USE_PERL5 is "build", then only set a build dependency on perl. --- lang/perl5/buildlink2.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3