pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/wxGTK30 Apply the --disable-precomp-headers hack t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8435a9f2638
branches:  trunk
changeset: 347911:a8435a9f2638
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Thu Jun 02 11:41:26 2016 +0000

description:
Apply the --disable-precomp-headers hack to gcc 5.x too.
>From John D. Baker, PR pkg/50287

diffstat:

 x11/wxGTK30/hacks.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4022cbe0ef2c -r a8435a9f2638 x11/wxGTK30/hacks.mk
--- a/x11/wxGTK30/hacks.mk      Thu Jun 02 11:16:33 2016 +0000
+++ b/x11/wxGTK30/hacks.mk      Thu Jun 02 11:41:26 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.3 2015/12/14 19:50:55 joerg Exp $
+# $NetBSD: hacks.mk,v 1.4 2016/06/02 11:41:26 bouyer Exp $
 
 ### [Mon Dec 14 16:58:00 MET 2015 : bouyer ]
 ### g++-4.8 on NetBSD/i386 fails with an internal compiler error
@@ -6,7 +6,8 @@
 ### 
 .if ${OPSYS} == "NetBSD" 
 .  include "../../mk/compiler.mk"
-.  if ${PKGSRC_COMPILER} == "gcc" && !empty(CC_VERSION:Mgcc-4.8.*)
+.  if ${PKGSRC_COMPILER} == "gcc" && \
+      (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
 CONFIGURE_ARGS+=       --disable-precomp-headers
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index