termux-packages/packages/notmuch/configure.patch

42 lines
1.2 KiB
Diff
Raw Permalink Normal View History

2020-07-27 08:27:23 +00:00
diff -u -r ../notmuch-0.30/configure ./configure
--- ../notmuch-0.30/configure 2020-07-11 01:25:04.000000000 +0000
+++ ./configure 2020-07-27 08:25:19.401273000 +0000
@@ -409,7 +409,7 @@
2017-04-06 23:11:41 +00:00
return 0;
}
EOF
2017-07-26 13:13:26 +00: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-06 23:11:41 +00:00
then
printf "OK.\n"
2022-11-18 20:25:14 +00:00
@@ -490,6 +490,7 @@
2019-06-24 19:45:38 +00:00
gmime_cflags=$(pkg-config --cflags gmime-3.0)
gmime_ldflags=$(pkg-config --libs gmime-3.0)
2022-11-18 20:25:14 +00:00
+if false; then
printf "Checking for GMime session key extraction support... "
cat > _check_session_keys.c <<EOF
@@ -714,6 +715,7 @@
if [ -n "$TEMP_GPG" -a -d "$TEMP_GPG" ]; then
rm -rf "$TEMP_GPG"
fi
+fi # false
2019-06-24 19:45:38 +00:00
else
have_gmime=0
printf "No.\n"
2020-07-27 08:27:23 +00:00
@@ -830,12 +620,7 @@
2017-04-06 23:11:41 +00:00
fi
2017-07-26 13:13:26 +00:00
printf "Checking for bash-completion (>= 1.90)... "
2017-04-06 23:11:41 +00:00
-if pkg-config --atleast-version=1.90 bash-completion; then
2017-07-26 13:13:26 +00:00
printf "Yes.\n"
2017-04-06 23:11:41 +00:00
-else
- printf "No (will not install bash completion).\n"
- WITH_BASH=0
-fi
2017-07-26 13:13:26 +00:00
2017-04-06 23:11:41 +00:00
if [ -z "${EMACSLISPDIR-}" ]; then
EMACSLISPDIR="\$(prefix)/share/emacs/site-lisp"