Module Name:    src
Committed By:   christos
Date:           Fri Dec 25 18:50:48 UTC 2015

Modified Files:
        src/external/mit/xorg/bin/xterm: Makefile.inc

Log Message:
PR/50593: dieter roelants: fix unexpanded definitions in xterm(1)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/bin/xterm/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xterm/Makefile.inc
diff -u src/external/mit/xorg/bin/xterm/Makefile.inc:1.1 src/external/mit/xorg/bin/xterm/Makefile.inc:1.2
--- src/external/mit/xorg/bin/xterm/Makefile.inc:1.1	Tue Oct 14 19:37:19 2008
+++ src/external/mit/xorg/bin/xterm/Makefile.inc	Fri Dec 25 13:50:48 2015
@@ -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 $
 
-X11EXTRAMANDEFS+=	-e 's,__mansuffix__,1,g'
+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,__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'

Reply via email to