Skip to content

Commit

Permalink
avoid if ! .. statement, not all shells can handle it.
Browse files Browse the repository at this point in the history
  • Loading branch information
grant committed Jan 22, 2004
1 parent 9393acd commit 607d3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editors/cooledit/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2004/01/22 08:30:30 grant Exp $
# $NetBSD: Makefile,v 1.9 2004/01/22 08:31:31 grant Exp $
#

DISTNAME= cooledit-3.17.5
Expand All @@ -20,7 +20,7 @@ USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig

post-configure:
if ! ${GREP} -q mbstate_t /usr/include/machine/ansi.h ; then \
if ${GREP} -q mbstate_t /usr/include/machine/ansi.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 ; \
Expand Down

0 comments on commit 607d3af

Please sign in to comment.