diff options
author | joerg <joerg> | 2006-12-06 14:45:42 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-12-06 14:45:42 +0000 |
commit | 3aaf2307e68df45201a4fd39a9865ceb4664afe3 (patch) | |
tree | 607d5e3eeec809650503ba957e1ab80f7bf90832 /editors/cooledit | |
parent | 0b182419b10367ac16ac449bb9af3a6a1f2e0e18 (diff) | |
download | pkgsrc-3aaf2307e68df45201a4fd39a9865ceb4664afe3.tar.gz |
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.
Diffstat (limited to 'editors/cooledit')
-rw-r--r-- | editors/cooledit/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 ; \ |