summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-11-18 00:42:50 +0000
committeradrianp <adrianp@pkgsrc.org>2007-11-18 00:42:50 +0000
commit824183de3d6caee35dbd927dc7504776ab3dade4 (patch)
tree9aa70ce215d31a8cb310444d030351c9fff0ac9c /lang/perl5
parent6eb4b8ca55af8270df2588dadf76474f89f72892 (diff)
downloadpkgsrc-824183de3d6caee35dbd927dc7504776ab3dade4.tar.gz
For the moment disable the building of a shared libperl.dylib on Darwin
=> 9.0 as it breaks the build. This should just be considered a temporary work around until the actual problem can be fixed as this worked for Darwin < 9.0. There are no changes to perl on any other platforms. This should address PR# 37225
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index e7eecc53b4a..2f885634ca9 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.130 2007/11/11 11:35:49 martti Exp $
+# $NetBSD: Makefile,v 1.131 2007/11/18 00:42:50 adrianp Exp $
DISTNAME= perl-5.8.8
PKGREVISION= 5
@@ -71,7 +71,6 @@ CONFIGURE_ARGS+= -sde
CONFIGURE_ARGS+= -Darchname="${MACHINE_ARCH}-${LOWER_OPSYS}"
CONFIGURE_ARGS+= -Dcc=${CC:Q}
CONFIGURE_ARGS+= -Doptimize=${CFLAGS:M*:Q}
-CONFIGURE_ARGS+= -Duseshrplib
CONFIGURE_ARGS+= -Ui_malloc
CONFIGURE_ARGS+= -Uusemymalloc
CONFIGURE_ARGS+= -Uinstallusrbinperl
@@ -137,6 +136,16 @@ CONFIGURE_ARGS+= -Dvendorman3dir=${PERL5_VENDORBASE:Q}/${PKGMANDIR:Q}/man3
USE_TOOLS+= gmake
.endif
+#
+# For the moment disable the building of a shared libperl.dylib on Darwin
+# => 9.0 as it breaks the build. This should just be considered a temporary
+# work around until the actual problem can be fixed as this worked for
+# Darwin < 9.0.
+#
+.if empty(MACHINE_PLATFORM:MDarwin-9.*-*)
+CONFIGURE_ARGS+= -Duseshrplib
+.endif
+
# Perl embeds the full paths to the following tools in several installed
# files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used.
#