Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/bin/xdm/config don't use ERE in sed. fort...



details:   https://anonhg.NetBSD.org/src/rev/f8bf5e7a5ccb
branches:  trunk
changeset: 997402:f8bf5e7a5ccb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 06 05:59:25 2019 +0000

description:
don't use ERE in sed.  fortunately, thes strings are all at the
end of the line so we can anchor them with (make processed) $$.

i now have fonts that i can see again in xdm.

diffstat:

 external/mit/xorg/bin/xdm/config/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 0af55675d5e2 -r f8bf5e7a5ccb external/mit/xorg/bin/xdm/config/Makefile
--- a/external/mit/xorg/bin/xdm/config/Makefile Wed Mar 06 05:21:50 2019 +0000
+++ b/external/mit/xorg/bin/xdm/config/Makefile Wed Mar 06 05:59:25 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2019/03/06 05:21:50 mrg Exp $
+#      $NetBSD: Makefile,v 1.18 2019/03/06 05:59:25 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -55,8 +55,8 @@
                -e 's,MKTEMP_COMMAND,/usr/bin/mktemp,' \
                -e 's,XCOMM,\#,' \
                -e 's,XHASH,\#,' \
-               -e 's,\<NLBS\>,\\n\\,' \
-               -e 's,\<BS\>,\\,' \
+               -e 's,NLBS$$,\\n\\,' \
+               -e 's,BS$$,\\,' \
                -e 's,/\*\*/,,g' \
                < ${.IMPSRC} > ${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET}
 



Home | Main Index | Thread Index | Old Index