From 3aaf2307e68df45201a4fd39a9865ceb4664afe3 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 6 Dec 2006 14:45:42 +0000 Subject: Look in wchar.h for mbstate_t, not machine/ansi.h. The latter is quite NetBSD specific. If that creates problem on older NetBSD, maybe the test should be conditionalized for NetBSD instead. --- editors/cooledit/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/cooledit') diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile index d8963316a2c..7c04005d646 100644 --- a/editors/cooledit/Makefile +++ b/editors/cooledit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2006/10/04 21:37:39 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2006/12/06 14:45:42 joerg Exp $ DISTNAME= cooledit-3.17.17 PKGREVISION= 2 @@ -16,7 +16,7 @@ GNU_CONFIGURE= yes PTHREAD_AUTO_VARS= yes post-configure: - if ${GREP} -q mbstate_t /usr/include/machine/ansi.h ; then :; else \ + if ${GREP} -q mbstate_t /usr/include/wchar.h ; then :; else \ ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.bak ; \ ${SED} 's;^.*HAVE_WCHAR_H.*$$;/* mbstate_t is missing from machine/ansi.h */;g' \ < ${WRKSRC}/config.h.bak > ${WRKSRC}/config.h ; \ -- cgit v1.2.3