Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/include/xproto Depending on whitespace eat...



details:   https://anonhg.NetBSD.org/src/rev/4b1e848be69c
branches:  trunk
changeset: 801936:4b1e848be69c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 24 16:39:21 2014 +0000

description:
Depending on whitespace eating behavior is non portable (our make was
not compliant until today -- it ate all whitespace). Fix commands so
that they don't depend on that.

diffstat:

 external/mit/xorg/include/xproto/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r f2239b5f839c -r 4b1e848be69c external/mit/xorg/include/xproto/Makefile
--- a/external/mit/xorg/include/xproto/Makefile Sun Aug 24 16:08:14 2014 +0000
+++ b/external/mit/xorg/include/xproto/Makefile Sun Aug 24 16:39:21 2014 +0000
@@ -1,17 +1,17 @@
-#      $NetBSD: Makefile,v 1.2 2008/09/13 04:32:29 cube Exp $
+#      $NetBSD: Makefile,v 1.3 2014/08/24 16:39:21 christos Exp $
 
 .include <bsd.own.mk>
 
 .PATH: ${X11SRCDIR.xproto}
 
 Xfuncproto.h: Xfuncproto.h.in
-       ${TOOL_SED} 's/#undef NARROWPROTO/#define NARROWPROTO/; \
-                    s/#undef FUNCPROTO/#define FUNCPROTO 15/' \
-                    < ${.ALLSRC} > ${.TARGET}
+       ${TOOL_SED} -e 's/#undef NARROWPROTO/#define NARROWPROTO/'  \
+           -e 's/#undef FUNCPROTO/#define FUNCPROTO 15/' \
+           < ${.ALLSRC} > ${.TARGET}
 
 Xpoll.h: Xpoll.h.in
        ${TOOL_SED} 's/@USE_FDS_BITS@/fds_bits/' \
-                    < ${.ALLSRC} > ${.TARGET}
+           < ${.ALLSRC} > ${.TARGET}
 
 INCS=  DECkeysym.h HPkeysym.h Sunkeysym.h X.h XF86keysym.h XWDFile.h \
        Xalloca.h Xarch.h Xatom.h Xdefs.h Xfuncproto.h Xfuncs.h Xmd.h \



Home | Main Index | Thread Index | Old Index