summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2005-03-30 11:57:57 +0000
committerjmcneill <jmcneill>2005-03-30 11:57:57 +0000
commitec278176a90d3fd5847008b31218c0076f56f4e1 (patch)
tree4abb9acbfa4304b2736ee3a2bb2e4684654612c2 /wm
parentc67b35b06675e87f126e59ebb3537c408b01a954 (diff)
downloadpkgsrc-ec278176a90d3fd5847008b31218c0076f56f4e1.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"