pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/cooledit Look in wchar.h for mbstate_t, not ma...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b7918751b64
branches: trunk
changeset: 522245:0b7918751b64
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Dec 06 14:45:42 2006 +0000
description:
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:
editors/cooledit/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0f3bca359cb8 -r 0b7918751b64 editors/cooledit/Makefile
--- a/editors/cooledit/Makefile Wed Dec 06 14:31:17 2006 +0000
+++ b/editors/cooledit/Makefile Wed Dec 06 14:45:42 2006 +0000
@@ -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 @@
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 ; \
Home |
Main Index |
Thread Index |
Old Index