summaryrefslogtreecommitdiff
path: root/package/xterm/patches/patch-Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-19 10:49:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-19 10:49:49 +0200
commit7907e3ee7302ac3fd428989a07b0df74f0c52853 (patch)
treee6de18488a687707667927065724372b40510d65 /package/xterm/patches/patch-Makefile_in
parentb70fdbfbf1139605c22083b647337f2b16f62fc3 (diff)
parent61355d1f054c15673adeb62d32dfd4563f89c165 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/xterm/patches/patch-Makefile_in')
-rw-r--r--package/xterm/patches/patch-Makefile_in22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/xterm/patches/patch-Makefile_in b/package/xterm/patches/patch-Makefile_in
new file mode 100644
index 000000000..1282767e2
--- /dev/null
+++ b/package/xterm/patches/patch-Makefile_in
@@ -0,0 +1,22 @@
+ Fix shell compatibility problem. Note: this is rather hacky, as it
+ changes the actual semantics of the code - instead of evaluating the
+ shell statement when being used as parameter to a command, now the
+ $(shell) function is being used and therefore the result computed at
+ variable assignment stage.
+--- xterm-259.orig/Makefile.in 2010-04-05 00:41:32.000000000 +0200
++++ xterm-259/Makefile.in 2010-06-06 22:35:13.384934404 +0200
+@@ -175,10 +175,10 @@ resize$x : $(OBJS2)
+
+ charproc$o : main.h @CHARPROC_DEPS@
+ ################################################################################
+-actual_xterm = `echo xterm| sed '$(transform)'`
+-actual_resize = `echo resize| sed '$(transform)'`
+-actual_uxterm = `echo uxterm| sed '$(transform)'`
+-actual_k8term = `echo koi8rxterm| sed '$(transform)'`
++actual_xterm = $(shell echo xterm| sed '$(transform)')
++actual_resize = $(shell echo resize| sed '$(transform)')
++actual_uxterm = $(shell echo uxterm| sed '$(transform)')
++actual_k8term = $(shell echo koi8rxterm| sed '$(transform)')
+
+ binary_xterm = $(actual_xterm)$x
+ binary_resize = $(actual_resize)$x