Files
2016-01-21 23:42:40 +01:00

51 lines
1.8 KiB
Plaintext

$NetBSD: patch-aa,v 1.4 2015/08/26 13:33:36 wiz Exp $
Install completion files into example directory.
Accept zlib 1.2.3.
--- configure.orig 2015-06-27 13:05:31.000000000 +0000
+++ configure
@@ -349,9 +349,9 @@ if ! pkg-config --exists zlib; then
rm -f compat/gen_zlib_pc
fi
-printf "Checking for zlib (>= 1.2.5.2)... "
+printf "Checking for zlib (>= 1.2.3)... "
have_zlib=0
-if pkg-config --atleast-version=1.2.5.2 zlib; then
+if pkg-config --atleast-version=1.2.3 zlib; then
printf "Yes.\n"
have_zlib=1
zlib_cflags=$(pkg-config --cflags zlib)
@@ -377,7 +377,7 @@ fi
printf "Checking for python... "
have_python=0
-for name in python python2 python3; do
+for name in python python2 python2.7 python3 python3.3 python3.4 ; do
if command -v $name > /dev/null; then
have_python=1
python=$name
@@ -537,7 +537,7 @@ EOF
echo " http://xapian.org/"
fi
if [ $have_zlib -eq 0 ]; then
- echo " zlib library (>= version 1.2.5.2, including development files such as headers)"
+ echo " zlib library (>= version 1.2.3, including development files such as headers)"
echo " http://zlib.net/"
echo
fi
@@ -845,10 +845,10 @@ HAVE_DOXYGEN=${have_doxygen}
desktop_dir = \$(prefix)/share/applications
# The directory to which bash completions files should be installed
-bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(sysconfdir)/bash_completion.d}
+bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(prefix)/share/examples/notmuch/bash_completion.d}
# The directory to which zsh completions files should be installed
-zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/zsh/functions/Completion/Unix}
+zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/examples/notmuch/zsh/functions/Completion/Unix}
# Whether the canonicalize_file_name function is available (if not, then notmuch will
# build its own version)