summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2006-07-08 16:16:40 +0000
committerminskim <minskim>2006-07-08 16:16:40 +0000
commit6a53b19624ae24976e1d791231e6e5791fc05d6c (patch)
tree80ec13de4172c42f857cc0c486e0e59c6d7304fc
parent614d37e0344b92d4487c870c6c1fa1d2b3cf4e86 (diff)
downloadpkgsrc-6a53b19624ae24976e1d791231e6e5791fc05d6c.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.
-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 \