diff options
author | jlam <jlam> | 2002-07-22 22:04:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-07-22 22:04:33 +0000 |
commit | 7140ae39f9cfb4b5d99fd7f1e798c119b0c6a064 (patch) | |
tree | 7737d35dc1108cfb6f4995e27c5b24e570058d66 /lang/perl5 | |
parent | 2e599ba97cad2375bff8211474891dbda1ef2e66 (diff) | |
download | pkgsrc-7140ae39f9cfb4b5d99fd7f1e798c119b0c6a064.tar.gz |
Correctly build from lang/perl58 if we need perl-5.8.0 on Darwin.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/buildlink.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/perl5/buildlink.mk b/lang/perl5/buildlink.mk index ee69bcdd4b2..cb08bcacfd0 100644 --- a/lang/perl5/buildlink.mk +++ b/lang/perl5/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.9 2002/07/22 22:00:53 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.10 2002/07/22 22:04:33 jlam Exp $ # # This Makefile fragment is included by packages that use perl. # @@ -10,17 +10,18 @@ .include "../../mk/bsd.buildlink.mk" -.if ${OPSYS} == "Darwin" -PERL5_REQD?= 5.8.0 -.else PERL5_REQD?= 5.0 -.endif BUILDLINK_DEPENDS.perl?= perl>=${PERL5_REQD} BUILDLINK_PREFIX.perl?= ${LOCALBASE} PERL5?= ${BUILDLINK_PREFIX.perl}/bin/perl +.if ${OPSYS} == "Darwin" +PERL5_REQD= 5.8.0 +DEPENDS+= ${BUILDLINK_DEPENDS.perl}:../../lang/perl58 +.else DEPENDS+= ${BUILDLINK_DEPENDS.perl}:../../lang/perl5 +.endif .if exists(${PERL5}) . if exists(${BUILDLINK_PREFIX.perl}/share/mk/bsd.perl.mk) |