summaryrefslogtreecommitdiff
path: root/x11/wxGTK
diff options
context:
space:
mode:
authorjdc <jdc@pkgsrc.org>2008-01-22 22:54:01 +0000
committerjdc <jdc@pkgsrc.org>2008-01-22 22:54:01 +0000
commit77c19e010d52dbc7ee6c81559a001677c51129e2 (patch)
treee36aa2d80bbe7a60d294a73a94afcacbb933965f /x11/wxGTK
parented33fc2a80de01b2a5ce4192fb311d39a6c69fb6 (diff)
downloadpkgsrc-77c19e010d52dbc7ee6c81559a001677c51129e2.tar.gz
Disable the precompiled headers on NetBSD sparc64 too, as this won't
compile there with them enabled.
Diffstat (limited to 'x11/wxGTK')
-rw-r--r--x11/wxGTK/hacks.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/x11/wxGTK/hacks.mk b/x11/wxGTK/hacks.mk
index 6c8af1f8820..124beade4d5 100644
--- a/x11/wxGTK/hacks.mk
+++ b/x11/wxGTK/hacks.mk
@@ -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.
+# Disable the precompiled headers on NetBSD mipseb and sparc64
+# machines, otherwise wxGTK will not compile there.
+# mipseb reported by jmcneill@NetBSD.org.
+# sparc64 reported by jdc@NetBSD.org.
+
.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