From b3e3da66dc8183ef014168fa928abc6672cf08bd Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 19 Jul 2015 17:06:03 -0400 Subject: [PATCH] make: Patch default shell path --- packages/make/build.sh | 1 + packages/make/make.patch | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/make/build.sh b/packages/make/build.sh index 947071cca..8aafcd8a6 100755 --- a/packages/make/build.sh +++ b/packages/make/build.sh @@ -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 diff --git a/packages/make/make.patch b/packages/make/make.patch index bbb7c7e83..e89b24bed 100644 --- a/packages/make/make.patch +++ b/packages/make/make.patch @@ -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