pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/cooledit avoid if ! .. statement, not all shel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80e096fda9b8
branches:  trunk
changeset: 466664:80e096fda9b8
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Jan 22 08:31:31 2004 +0000

description:
avoid if ! .. statement, not all shells can handle it.

diffstat:

 editors/cooledit/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a8dd74e86f37 -r 80e096fda9b8 editors/cooledit/Makefile
--- a/editors/cooledit/Makefile Thu Jan 22 08:24:28 2004 +0000
+++ b/editors/cooledit/Makefile Thu Jan 22 08:31:31 2004 +0000
@@ -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
@@ -20,7 +20,7 @@
 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 ; \



Home | Main Index | Thread Index | Old Index