pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 For the moment disable the building of a sh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bb685a5f5bf
branches:  trunk
changeset: 535446:5bb685a5f5bf
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Nov 18 00:42:50 2007 +0000

description:
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:

 lang/perl5/Makefile |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 67721705f46d -r 5bb685a5f5bf lang/perl5/Makefile
--- a/lang/perl5/Makefile       Sun Nov 18 00:36:37 2007 +0000
+++ b/lang/perl5/Makefile       Sun Nov 18 00:42:50 2007 +0000
@@ -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+=       -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 @@
 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.
 #



Home | Main Index | Thread Index | Old Index