pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/fluxbox Replace -O2 with -O1 on NetBSD-2.0*-*; work...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be07809fac03
branches:  trunk
changeset: 491803:be07809fac03
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed Mar 30 11:57:57 2005 +0000

description:
Replace -O2 with -O1 on NetBSD-2.0*-*; workaround for pkg/29825. I am unable
to reproduce this problem on NetBSD-2.99.15, and this fix made things work for
the submitter on 2.0.

diffstat:

 wm/fluxbox/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 5196caab30eb -r be07809fac03 wm/fluxbox/Makefile
--- a/wm/fluxbox/Makefile       Wed Mar 30 11:16:27 2005 +0000
+++ b/wm/fluxbox/Makefile       Wed Mar 30 11:57:57 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/03/24 15:00:40 jmcneill Exp $
+# $NetBSD: Makefile,v 1.21 2005/03/30 11:57:57 jmcneill Exp $
 #
 
 DISTNAME=      fluxbox-0.9.12
@@ -19,10 +19,17 @@
 USE_GNU_TOOLS= make
 USE_LIBTOOL=   YES
 
+.include "../../mk/bsd.prefs.mk"
+
+# Workaround for pkg/29825 -- older compilers apparently
+# have problems building this package.
+.if (${MACHINE_PLATFORM:MNetBSD-2.0*-*} != "")
+BUILDLINK_TRANSFORM+=  rename:-O2:-O1
+.endif
+
 CONFIGURE_ARGS+=       --enable-nls
 CONFIGURE_ARGS+=       --enable-xinerama
 
-.include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index