X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/168e25a138f362b2cbba8f4e9a1df8d20ad96201..38c15568528048ca144e5747d4eb76570319467b:/packages/notmuch/configure.patch diff --git a/packages/notmuch/configure.patch b/packages/notmuch/configure.patch index a102b84f..519eac06 100644 --- a/packages/notmuch/configure.patch +++ b/packages/notmuch/configure.patch @@ -1,27 +1,25 @@ -diff -u -r ../notmuch-0.24.1/configure ./configure ---- ../notmuch-0.24.1/configure 2017-04-01 14:29:38.000000000 +0200 -+++ ./configure 2017-04-07 00:53:36.743033402 +0200 -@@ -352,7 +352,7 @@ +diff -u -r ../notmuch-0.25/configure ./configure +--- ../notmuch-0.25/configure 2017-07-25 13:30:24.000000000 +0200 ++++ ./configure 2017-07-26 14:35:27.777600722 +0200 +@@ -370,7 +370,7 @@ return 0; } EOF --if ${CC} ${CFLAGS} _libversion.c -o _libversion > /dev/null 2>&1 && \ -+if ${CC_FOR_BUILD} _libversion.c -o _libversion > /dev/null 2>&1 && \ - ./_libversion > _libversion.sh && . ./_libversion.sh +-if ${CC} ${CFLAGS} -I"$srcdir" _libversion.c -o _libversion > /dev/null 2>&1 \ ++if ${CC_FOR_BUILD} -I"$srcdir" _libversion.c -o _libversion > /dev/null 2>&1 \ + && ./_libversion > _libversion.sh && . ./_libversion.sh then printf "OK.\n" -@@ -554,14 +554,6 @@ - valgrind_cflags= +@@ -579,12 +579,7 @@ fi --printf "Checking for bash-completion (>= 1.90)... " + printf "Checking for bash-completion (>= 1.90)... " -if pkg-config --atleast-version=1.90 bash-completion; then -- printf "Yes.\n" + printf "Yes.\n" -else - printf "No (will not install bash completion).\n" - WITH_BASH=0 -fi -- + if [ -z "${EMACSLISPDIR-}" ]; then EMACSLISPDIR="\$(prefix)/share/emacs/site-lisp" - fi