summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-11-18 00:42:50 +0000
committeradrianp <adrianp>2007-11-18 00:42:50 +0000
commitb3f7a757cc3a0d634bdc8a2e01db8528191e6fa9 (patch)
tree9aa70ce215d31a8cb310444d030351c9fff0ac9c /lang
parent1326be0b8dc9bc22c5af75c5c341858c1aa88c08 (diff)
downloadpkgsrc-b3f7a757cc3a0d634bdc8a2e01db8528191e6fa9.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')
-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.
#