pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/wxGTK Disable the precompiled headers on NetBSD sp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/718f7f2227ca
branches:  trunk
changeset: 537975:718f7f2227ca
user:      jdc <jdc%pkgsrc.org@localhost>
date:      Tue Jan 22 22:54:01 2008 +0000

description:
Disable the precompiled headers on NetBSD sparc64 too, as this won't
compile there with them enabled.

diffstat:

 x11/wxGTK/hacks.mk |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 8debc53f976a -r 718f7f2227ca x11/wxGTK/hacks.mk
--- a/x11/wxGTK/hacks.mk        Tue Jan 22 22:51:45 2008 +0000
+++ b/x11/wxGTK/hacks.mk        Tue Jan 22 22:54:01 2008 +0000
@@ -1,12 +1,17 @@
-# $NetBSD: hacks.mk,v 1.1 2007/04/19 01:08:51 xtraeme Exp $
+# $NetBSD: hacks.mk,v 1.2 2008/01/22 22:54:01 jdc Exp $
 #
-# Disable the option precomp headers, seems to barf on
-# NetBSD mipseb machines... reported by jmcneill%NetBSD.org@localhost.
+# Disable the precompiled headers on NetBSD mipseb and sparc64
+# machines, otherwise wxGTK will not compile there.
+#   mipseb reported by jmcneill%NetBSD.org@localhost.
+#   sparc64 reported by jdc%NetBSD.org@localhost.
+
 
 .if !defined(WXGTK_HACKS_MK)
 WXGTK_HACKS_MK=                # defined
 
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipseb"
+.if ${OPSYS} == "NetBSD" && \
+    (${MACHINE_ARCH} == "mipseb" || \
+    ${MACHINE_ARCH} == "sparc64")
 PKG_HACKS+=            disable-precomp-headers
 CONFIGURE_ARGS+=        --disable-precomp-headers
 .endif



Home | Main Index | Thread Index | Old Index