summaryrefslogtreecommitdiff
path: root/devel/glib2/hacks.mk
blob: 6589d54d78dd274f7fac2f2c733461aee7ad8e72 (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.3 2008/07/14 16:45:53 tron Exp $

.if !defined(GLIB2_HACKS_MK)
GLIB2_HACKS_MK=	# defined

# "glib2" supports support for Universal Binaries. But a lot of packages
# using it (e.g. "gtk2+") don't support it. We therefore disable it.

.  include "../../mk/bsd.fast.prefs.mk"
.  if ${OPSYS} == "Darwin"
PKG_HACKS+=	darwin-no-universal
.    if ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ENV+=	ac_cv_c_bigendian=yes
.    else
CONFIGURE_ENV+=	ac_cv_c_bigendian=no
.    endif
.  endif

.endif