summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-07-22 22:00:49 +0000
committerjlam <jlam>2002-07-22 22:00:49 +0000
commita61d12971d49c24c815159a139c379540ba1d3d0 (patch)
tree2826dc954fb4b30a416becc87cc0de58cf583109 /mk
parentb5fefb5e7493b29c78e13f74bbfeebbcf2fbd278 (diff)
downloadpkgsrc-a61d12971d49c24c815159a139c379540ba1d3d0.tar.gz
Adapt to using perl-5.8.0. Perl 5.8.0 removes the need for libperl as
DynaLoader.a is now an archive of PIC objects.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 5c734f1a35a..9cbfa7d0b10 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1010 2002/07/22 02:33:55 jschauma Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1011 2002/07/22 22:00:49 jlam Exp $
#
# This file is in the public domain.
#
@@ -204,7 +204,12 @@ BUILD_DEFS+= KERBEROS
PERL5_REQD?= 5.0
.if defined(USE_PERL5)
+. if ${OPSYS} == "Darwin"
+PERL5_REQD= 5.8.0
+DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl58
+. else
DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+. endif
. if exists(${PERL5})
. if exists(${LOCALBASE}/share/mk/bsd.perl.mk)
. include "${LOCALBASE}/share/mk/bsd.perl.mk"