summaryrefslogtreecommitdiff
path: root/x11/wxGTK26/hacks.mk
blob: 424536a0c1d5231597421d846a26a0678091194b (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.2 2012/06/15 23:06:05 dholland 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