make: Patch default shell path
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 19 Jul 2015 21:06:03 +0000 (17:06 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 19 Jul 2015 21:06:03 +0000 (17:06 -0400)
packages/make/build.sh
packages/make/make.patch

index 947071c..8aafcd8 100755 (executable)
@@ -1,4 +1,5 @@
 TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/make/
 TERMUX_PKG_DESCRIPTION="Tool which controls the generation of executables and other non-source files of a program from the program's source files"
 TERMUX_PKG_VERSION=4.1
+TERMUX_PKG_BUILD_REVISION=1
 TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/make/make-${TERMUX_PKG_VERSION}.tar.gz
index bbb7c7e..e89b24b 100644 (file)
@@ -1,12 +1,12 @@
 diff -u -r ../make-4.1/job.c ./job.c
---- ../make-4.1/job.c  2014-10-05 18:24:51.000000000 +0200
-+++ ./job.c    2014-10-15 00:33:16.000000000 +0200
-@@ -53,7 +53,7 @@
+--- ../make-4.1/job.c  2014-10-05 12:24:51.000000000 -0400
++++ ./job.c    2015-07-19 17:01:19.751113443 -0400
+@@ -69,7 +69,7 @@
  
- #elif defined (__EMX__)
+ #else
  
 -const char *default_shell = "/bin/sh";
-+const char *default_shell = "/system/bin/sh";
++const char *default_shell = "@TERMUX_PREFIX@/bin/sh";
  int batch_mode_shell = 0;
  
- #elif defined (VMS)
+ #endif