summaryrefslogtreecommitdiff
path: root/lang
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 /lang
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 'lang')
-rw-r--r--lang/libperl/Makefile5
-rw-r--r--lang/perl5/buildlink.mk6
2 files changed, 8 insertions, 3 deletions
diff --git a/lang/libperl/Makefile b/lang/libperl/Makefile
index edd88666bfc..a288cf3565d 100644
--- a/lang/libperl/Makefile
+++ b/lang/libperl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2001/12/03 07:55:43 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2002/07/22 22:00:52 jlam Exp $
.include "../../lang/perl5/Makefile.common"
@@ -11,10 +11,11 @@ HOMEPAGE= http://language.perl.com/index.html
COMMENT= Perl DynaLoader as a shared object
USE_BUILDLINK_ONLY= YES
-PERL5_REQD= ${PERL5_DIST_VERS}
EXTRACT_ELEMENTS= ${DISTNAME}/ext/DynaLoader
WRKSRC= ${WRKDIR}/${EXTRACT_ELEMENTS}
+#BUILDLINK_DEPENDS.perl= perl-${PERL5_DIST_VERS}*
+
.include "../../mk/bsd.prefs.mk"
MKPIC?= yes
diff --git a/lang/perl5/buildlink.mk b/lang/perl5/buildlink.mk
index cdc2da7d47f..ee69bcdd4b2 100644
--- a/lang/perl5/buildlink.mk
+++ b/lang/perl5/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.8 2001/12/11 06:08:58 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.9 2002/07/22 22:00:53 jlam Exp $
#
# This Makefile fragment is included by packages that use perl.
#
@@ -10,7 +10,11 @@
.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}