pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl58 Apply patch from Richard Earnshaw on port-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e84439b45f93
branches:  trunk
changeset: 493552:e84439b45f93
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon May 09 15:35:44 2005 +0000

description:
Apply patch from Richard Earnshaw on port-arm@ to fix build on
NetBSD/arm.

diffstat:

 lang/perl58/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r f7a3f87f4da8 -r e84439b45f93 lang/perl58/Makefile
--- a/lang/perl58/Makefile      Mon May 09 15:18:03 2005 +0000
+++ b/lang/perl58/Makefile      Mon May 09 15:35:44 2005 +0000
@@ -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+=       -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



Home | Main Index | Thread Index | Old Index