summaryrefslogtreecommitdiff
path: root/devel/glib2
diff options
context:
space:
mode:
authorminskim <minskim>2006-07-08 16:16:40 +0000
committerminskim <minskim>2006-07-08 16:16:40 +0000
commit104209d52da553b19176f11dcdb16b1e012c35dd (patch)
tree80ec13de4172c42f857cc0c486e0e59c6d7304fc /devel/glib2
parent89243c7fafb04e95e18aad790cda92aa8035034d (diff)
downloadpkgsrc-104209d52da553b19176f11dcdb16b1e012c35dd.tar.gz
On Darwin-[56], bypass the wchar_t test in configure and assume that it
is unavailable. Although Darwin-[56] has wchar_t, it doesn't provide related functions such as wcslen(). This fixes PR 29175.
Diffstat (limited to 'devel/glib2')
-rw-r--r--devel/glib2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index 0a8b9f9cd51..aaeb275c891 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2006/07/03 21:01:53 wiz Exp $
+# $NetBSD: Makefile,v 1.102 2006/07/08 16:16:40 minskim Exp $
DISTNAME= glib-2.12.0
PKGNAME= ${DISTNAME:S/glib/glib2/}
@@ -74,6 +74,10 @@ SUBST_MESSAGE.thr= Fixing libgthread.
.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-[56].*-*)
+CONFIGURE_ENV+= gt_cv_c_wchar_t=no
+.endif
+
# Handle directories shared with devel/glib.
PRINT_PLIST_AWK+= /^@dirrm include\/glib$$/ \
{ print "@unexec $${RMDIR} %D/" $$2 \