summaryrefslogtreecommitdiff
path: root/x11/wxGTK26/hacks.mk
blob: 86a82b8fa31a346f84c9cb58a2720ac776e631d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: hacks.mk,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $
#
# 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" || \
    ${MACHINE_ARCH} == "sparc64")
PKG_HACKS+=		disable-precomp-headers
CONFIGURE_ARGS+=        --disable-precomp-headers
.endif

.endif # WXGTK_HACKS_MK