aboutsummaryrefslogtreecommitdiff
path: root/japanese/kterm
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-03-31 15:40:30 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-03-31 15:40:30 +0000
commit5323a25a7e3e91d8318328b8c8426947c9e709e6 (patch)
treecccc512a6c6d53c778400a9cbb06bfafa8ea2d96 /japanese/kterm
parentf5d5841115e46d9395e11c8701e33fc52fe0a97d (diff)
downloadports-5323a25a7e3e91d8318328b8c8426947c9e709e6.tar.gz
ports-5323a25a7e3e91d8318328b8c8426947c9e709e6.zip
Notes
Diffstat (limited to 'japanese/kterm')
-rw-r--r--japanese/kterm/Makefile5
-rw-r--r--japanese/kterm/files/extra-patch-Tektronix11
2 files changed, 16 insertions, 0 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index 91b97cc4e35a..33082645f803 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -58,6 +58,11 @@ post-patch:
@${ECHO_MSG} "===> Applying neXtaw scrollbar patch"
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-neXtaw
.endif
+.if defined(WITH_TEKTRONIX)
+post-patch:
+ @${ECHO_MSG} "===> Applying Tektronix emulation patch"
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-Tektronix
+.endif
.endif
diff --git a/japanese/kterm/files/extra-patch-Tektronix b/japanese/kterm/files/extra-patch-Tektronix
new file mode 100644
index 000000000000..46c4ddac0f70
--- /dev/null
+++ b/japanese/kterm/files/extra-patch-Tektronix
@@ -0,0 +1,11 @@
+--- ./kterm.h.orig Fri Jul 12 14:01:37 1996
++++ ./kterm.h Thu Aug 16 01:34:54 2001
+@@ -35,7 +35,7 @@
+ #define KTERM_XIM /* XIM protocol */
+ #define KTERM_KINPUT2 /* Kinput2 protocol */
+ #define KTERM_COLOR /* color sequence */
+-#define KTERM_NOTEK /* disables Tektronix emulation */
++#undef KTERM_NOTEK /* disables Tektronix emulation */
+ #undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
+
+ #endif /* !_KTERM_H_ */