aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql++3
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-03-04 18:34:55 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-03-04 18:34:55 +0000
commita4d74703b465f6d8b4315683b28fee479b239772 (patch)
tree07713c6b4007c008ed586d793f4cfcb03b964858 /databases/mysql++3
parent13a4a93cf824f59cbf9732c5a28f3997f1696822 (diff)
Notes
Diffstat (limited to 'databases/mysql++3')
-rw-r--r--databases/mysql++3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/mysql++3/Makefile b/databases/mysql++3/Makefile
index 213176b73af5..68d3eab830c4 100644
--- a/databases/mysql++3/Makefile
+++ b/databases/mysql++3/Makefile
@@ -24,6 +24,11 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
+post-patch:
+# Avoid conflict with C++20 <version> by ignoring <...> under WRKSRC
+ @${REINPLACE_CMD} -i .c++20 '/MYSQLPP_CXXFLAGS/s/-I/-iquote/' \
+ ${WRKSRC}/Makefile.in
+
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR})