From 68473044503f657cee9de1d6822e4250b99c1aa8 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 4 Mar 2019 04:35:13 +0000 Subject: 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 --- mail/notmuch/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/notmuch') diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile index 38dedd3bb68c..994e033d06d9 100644 --- a/mail/notmuch/Makefile +++ b/mail/notmuch/Makefile @@ -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 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. -- cgit v1.2.3