Thu Jun 2 11:41:26 2016 UTC ()
Apply the --disable-precomp-headers hack to gcc 5.x too.
>From John D. Baker, PR pkg/50287


(bouyer)
diff -r1.3 -r1.4 pkgsrc/x11/wxGTK30/hacks.mk

cvs diff -r1.3 -r1.4 pkgsrc/x11/wxGTK30/hacks.mk (expand / switch to unified diff)

--- pkgsrc/x11/wxGTK30/hacks.mk 2015/12/14 19:50:55 1.3
+++ pkgsrc/x11/wxGTK30/hacks.mk 2016/06/02 11:41:26 1.4
@@ -1,12 +1,13 @@ @@ -1,12 +1,13 @@
1# $NetBSD: hacks.mk,v 1.3 2015/12/14 19:50:55 joerg Exp $ 1# $NetBSD: hacks.mk,v 1.4 2016/06/02 11:41:26 bouyer Exp $
2 2
3### [Mon Dec 14 16:58:00 MET 2015 : bouyer ] 3### [Mon Dec 14 16:58:00 MET 2015 : bouyer ]
4### g++-4.8 on NetBSD/i386 fails with an internal compiler error 4### g++-4.8 on NetBSD/i386 fails with an internal compiler error
5### when PCH is used. Be conservative and disable on all MACHINE_ARCH 5### when PCH is used. Be conservative and disable on all MACHINE_ARCH
6###  6###
7.if ${OPSYS} == "NetBSD"  7.if ${OPSYS} == "NetBSD"
8. include "../../mk/compiler.mk" 8. include "../../mk/compiler.mk"
9. if ${PKGSRC_COMPILER} == "gcc" && !empty(CC_VERSION:Mgcc-4.8.*) 9. if ${PKGSRC_COMPILER} == "gcc" && \
 10 (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
10CONFIGURE_ARGS+= --disable-precomp-headers 11CONFIGURE_ARGS+= --disable-precomp-headers
11. endif 12. endif
12.endif 13.endif