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/xterm PR/50593: dieter roelants: fix u...
details: https://anonhg.NetBSD.org/src/rev/4d95e8820a58
branches: trunk
changeset: 342507:4d95e8820a58
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 25 18:50:48 2015 +0000
description:
PR/50593: dieter roelants: fix unexpanded definitions in xterm(1)
diffstat:
external/mit/xorg/bin/xterm/Makefile.inc | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a1c387415423 -r 4d95e8820a58 external/mit/xorg/bin/xterm/Makefile.inc
--- a/external/mit/xorg/bin/xterm/Makefile.inc Fri Dec 25 16:19:38 2015 +0000
+++ b/external/mit/xorg/bin/xterm/Makefile.inc Fri Dec 25 18:50:48 2015 +0000
@@ -1,3 +1,20 @@
-# $NetBSD: Makefile.inc,v 1.1 2008/10/14 23:37:19 cube Exp $
+# $NetBSD: Makefile.inc,v 1.2 2015/12/25 18:50:48 christos Exp $
+
+VERSION_H= ${X11SRCDIR.xterm}/version.h
+XTERM_DATE= ${:!${TOOL_GREP} XTERM_DATE ${VERSION_H}!:C/^[^0-9]*//}
+XTERM_PATCH= ${:!${TOOL_GREP} XTERM_PATCH ${VERSION_H}!:C/^[^0-9]*//}
-X11EXTRAMANDEFS+= -e 's,__mansuffix__,1,g'
+X11EXTRAMANDEFS+= \
+ -e 's,__app_version__,Patch \#${XTERM_PATCH},g' \
+ -e 's,__app_date__,${XTERM_DATE},g' \
+ -e 's,__default_termname__,xterm,g' \
+ -e 's,__default_termid__,420,g' \
+ -e 's,__alt_sends_esc__,False,g' \
+ -e 's,__meta_sends_esc__,False,g' \
+ -e 's,__backarrow_is_bs__,True,g' \
+ -e 's,__backarrow_is_erase__,False,g' \
+ -e 's,__delete_is_del__,Maybe,g' \
+ -e 's,__initial_erase__,False,g' \
+ -e 's,__default_class__,XTerm,g' \
+ -e 's,__mansuffix__,1,g' \
+ -e 's,__pixmapsdir__,${X11INCDIR}/X11/pixmaps,g'
Home |
Main Index |
Thread Index |
Old Index