diff options
author | minskim <minskim@pkgsrc.org> | 2006-07-08 16:16:40 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-07-08 16:16:40 +0000 |
commit | 310d29e8c369f815698598e47b07e3dcd5bf5cb7 (patch) | |
tree | 80ec13de4172c42f857cc0c486e0e59c6d7304fc /devel | |
parent | d484247077742cbcafd7615c8825269ae88881ef (diff) | |
download | pkgsrc-310d29e8c369f815698598e47b07e3dcd5bf5cb7.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')
-rw-r--r-- | devel/glib2/Makefile | 6 |
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 \ |