diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2005-03-30 11:57:57 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2005-03-30 11:57:57 +0000 |
commit | 5618f66ee44e4a20c9b78e44e916c46571682e0e (patch) | |
tree | 4abb9acbfa4304b2736ee3a2bb2e4684654612c2 /wm | |
parent | 4ccba7bcbe66f13c788cf439514f2d1613792aa5 (diff) | |
download | pkgsrc-5618f66ee44e4a20c9b78e44e916c46571682e0e.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/Makefile | 11 |
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" |