From 104209d52da553b19176f11dcdb16b1e012c35dd Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 8 Jul 2006 16:16:40 +0000 Subject: 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. --- devel/glib2/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'devel/glib2') 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 \ -- cgit v1.2.3