termux-packages/packages/notmuch/configure.patch

26 lines
794 B
Diff
Raw Normal View History

2017-07-26 15:13:26 +02:00
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 @@
2017-04-07 01:11:41 +02:00
return 0;
}
EOF
2017-07-26 15:13:26 +02:00
-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
2017-04-07 01:11:41 +02:00
then
printf "OK.\n"
2017-07-26 15:13:26 +02:00
@@ -579,12 +579,7 @@
2017-04-07 01:11:41 +02:00
fi
2017-07-26 15:13:26 +02:00
printf "Checking for bash-completion (>= 1.90)... "
2017-04-07 01:11:41 +02:00
-if pkg-config --atleast-version=1.90 bash-completion; then
2017-07-26 15:13:26 +02:00
printf "Yes.\n"
2017-04-07 01:11:41 +02:00
-else
- printf "No (will not install bash completion).\n"
- WITH_BASH=0
-fi
2017-07-26 15:13:26 +02:00
2017-04-07 01:11:41 +02:00
if [ -z "${EMACSLISPDIR-}" ]; then
EMACSLISPDIR="\$(prefix)/share/emacs/site-lisp"