1
0

patch-Makefile_in 1.1 KB

12345678910111213141516171819202122
  1. Fix shell compatibility problem. Note: this is rather hacky, as it
  2. changes the actual semantics of the code - instead of evaluating the
  3. shell statement when being used as parameter to a command, now the
  4. $(shell) function is being used and therefore the result computed at
  5. variable assignment stage.
  6. --- xterm-259.orig/Makefile.in 2010-04-05 00:41:32.000000000 +0200
  7. +++ xterm-259/Makefile.in 2010-06-06 22:35:13.384934404 +0200
  8. @@ -175,10 +175,10 @@ resize$x : $(OBJS2)
  9. charproc$o : main.h @CHARPROC_DEPS@
  10. ################################################################################
  11. -actual_xterm = `echo xterm| sed '$(transform)'`
  12. -actual_resize = `echo resize| sed '$(transform)'`
  13. -actual_uxterm = `echo uxterm| sed '$(transform)'`
  14. -actual_k8term = `echo koi8rxterm| sed '$(transform)'`
  15. +actual_xterm = $(shell echo xterm| sed '$(transform)')
  16. +actual_resize = $(shell echo resize| sed '$(transform)')
  17. +actual_uxterm = $(shell echo uxterm| sed '$(transform)')
  18. +actual_k8term = $(shell echo koi8rxterm| sed '$(transform)')
  19. binary_xterm = $(actual_xterm)$x
  20. binary_resize = $(actual_resize)$x