mail/notmuch: unbreak with libc++ 8

In file included from lib/database.cc:21:
In file included from ./lib/database-private.h:39:
In file included from /usr/local/include/xapian.h:56:
In file included from /usr/local/include/xapian/error.h:30:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:640:
In file included from /usr/include/c++/v1/initializer_list:47:
In file included from /usr/include/c++/v1/cstddef:38:
./version:1:1: error: expected unqualified-id
0.28.1
^

PR:		236192
Approved by:	portmgr blanket
This commit is contained in:
Jan Beich 2019-03-04 04:35:13 +00:00
parent 021f4bb6fb
commit 6847304450
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494546

View File

@ -60,6 +60,11 @@ DOXYGEN_CONFIGURE_WITH= api-docs
MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
MANPAGES_CONFIGURE_WITH= docs
post-patch:
# Avoid conflict with C++20 <version> by ignoring <...> under WRKSRC
@${REINPLACE_CMD} -i .c++20 's/-I$$(srcdir)/-iquote$$(srcdir)/' \
${WRKSRC}/*/Makefile.local
# Install bash completions without incurring a dependcy on
# shells/bash-completion. Also avoid automatic installation of
# info pages on FreeBSD 10.