diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-08-22 10:57:00 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-08-22 10:57:00 +0000 |
commit | b77af6fefe917dc6b4f338e567454430a99a876a (patch) | |
tree | 5948a305e780d73e167ab7fa006a3185d6949e03 /mail | |
parent | e131e5ffc97453ccef0d8e332d46086e24253603 (diff) | |
download | freebsd-ports-b77af6fefe917dc6b4f338e567454430a99a876a.zip |
- Add patch missed in previous commit
PR: 209665
Submitted by: mp39590@gmail.com (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/notmuch/files/patch-configure | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/mail/notmuch/files/patch-configure b/mail/notmuch/files/patch-configure new file mode 100644 index 000000000000..5b382b9bbffb --- /dev/null +++ b/mail/notmuch/files/patch-configure @@ -0,0 +1,44 @@ +--- configure.orig 2016-07-19 09:43:20 UTC ++++ configure +@@ -66,6 +66,7 @@ PYTHON=${PYTHON:-} + PREFIX=/usr/local + LIBDIR= + WITH_DOCS=1 ++WITH_API_DOCS=1 + WITH_EMACS=1 + WITH_BASH=1 + WITH_RUBY=1 +@@ -134,7 +135,8 @@ Some features can be disabled (--with-fe + --without-feature) : + + --without-bash-completion Do not install bash completions files +- --without-docs Do not install documentation and man pages ++ --without-docs Do not install man pages ++ --without-api-docs Do not install API documentation + --without-emacs Do not install lisp file + --without-ruby Do not install ruby bindings + --without-zsh-completion Do not install zsh completions files +@@ -185,6 +187,14 @@ for option; do + fi + elif [ "${option}" = '--without-docs' ] ; then + WITH_DOCS=0 ++ elif [ "${option%%=*}" = '--with-api-docs' ]; then ++ if [ "${option#*=}" = 'no' ]; then ++ WITH_API_DOCS=0 ++ else ++ WITH_API_DOCS=1 ++ fi ++ elif [ "${option}" = '--without-api-docs' ] ; then ++ WITH_API_DOCS=0 + elif [ "${option%%=*}" = '--with-emacs' ]; then + if [ "${option#*=}" = 'no' ]; then + WITH_EMACS=0 +@@ -507,7 +517,7 @@ else + fi + + have_doxygen=0 +-if [ $WITH_DOCS = "1" ] ; then ++if [ $WITH_API_DOCS = "1" ] ; then + printf "Checking if doxygen is available... " + if command -v doxygen > /dev/null; then + printf "Yes.\n" |