pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/glib2 On Darwin-[56], bypass the wchar_t test in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a742aea12283
branches:  trunk
changeset: 515803:a742aea12283
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jul 08 16:16:40 2006 +0000

description:
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:

 devel/glib2/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 9439b56933f3 -r a742aea12283 devel/glib2/Makefile
--- a/devel/glib2/Makefile      Sat Jul 08 15:37:52 2006 +0000
+++ b/devel/glib2/Makefile      Sat Jul 08 16:16:40 2006 +0000
@@ -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 @@
 
 .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 \



Home | Main Index | Thread Index | Old Index