pkgsrc/x11/wxGTK26/hacks.mk
2012-06-15 23:06:02 +00:00

19 lines
535 B
Makefile

# $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