summaryrefslogtreecommitdiff
path: root/mail/notmuch
diff options
context:
space:
mode:
Diffstat (limited to 'mail/notmuch')
-rw-r--r--mail/notmuch/Makefile5
1 files changed, 5 insertions, 0 deletions
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 <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.