summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2005-03-30 11:57:57 +0000
committerjmcneill <jmcneill@pkgsrc.org>2005-03-30 11:57:57 +0000
commitce8bddd8db88539baffea6d64475486fc50cf5d8 (patch)
tree4abb9acbfa4304b2736ee3a2bb2e4684654612c2 /wm
parent01bad35b8c36729a7120d5fc373261075d258dfa (diff)
downloadpkgsrc-ce8bddd8db88539baffea6d64475486fc50cf5d8.tar.gz
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 (limited to 'wm')
-rw-r--r--wm/fluxbox/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/wm/fluxbox/Makefile b/wm/fluxbox/Makefile
index 67a5a015be9..a526fb93698 100644
--- a/wm/fluxbox/Makefile
+++ b/wm/fluxbox/Makefile
@@ -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 @@ GNU_CONFIGURE= YES
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"