diff options
author | jdc <jdc@pkgsrc.org> | 2008-01-22 22:54:01 +0000 |
---|---|---|
committer | jdc <jdc@pkgsrc.org> | 2008-01-22 22:54:01 +0000 |
commit | 77c19e010d52dbc7ee6c81559a001677c51129e2 (patch) | |
tree | e36aa2d80bbe7a60d294a73a94afcacbb933965f /x11/wxGTK | |
parent | ed33fc2a80de01b2a5ce4192fb311d39a6c69fb6 (diff) | |
download | pkgsrc-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.mk | 13 |
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 |