summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-05-09 15:35:44 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-05-09 15:35:44 +0000
commit72bed45769757ded2b01fc1e27e55f6a124610df (patch)
tree0c4486d8b5a9e2535221f9eb84c1e4bd309dcf54 /lang
parenta4b467ed64080b1c8c6d469c86904cacd02de007 (diff)
downloadpkgsrc-72bed45769757ded2b01fc1e27e55f6a124610df.tar.gz
Apply patch from Richard Earnshaw on port-arm@ to fix build on
NetBSD/arm.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl58/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index e928e715b5a..67132bde904 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2005/04/11 21:46:15 tv Exp $
+# $NetBSD: Makefile,v 1.79 2005/05/09 15:35:44 xtraeme Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -50,7 +50,11 @@ CONFIGURE_ARGS+= -Dprefix="${PREFIX}"
CONFIGURE_ARGS+= -Dscriptdir="${PREFIX}/bin"
CONFIGURE_ARGS+= -Darchname="${MACHINE_ARCH}-${LOWER_OPSYS}"
CONFIGURE_ARGS+= -Dcc="${CC}"
+.if !empty(MACHINE_ARCH:Marm)
+CONFIGURE_ARGS+= -Doptimize="${CFLAGS} -fno-cse-skip-blocks"
+.else
CONFIGURE_ARGS+= -Doptimize="${CFLAGS}"
+.endif
CONFIGURE_ARGS+= -Dinstallstyle="lib/perl5"
CONFIGURE_ARGS+= -Duseshrplib
CONFIGURE_ARGS+= -Ui_malloc