diff --git a/irc/anope/Makefile b/irc/anope/Makefile index f524e0f78fd9..d97994341f49 100644 --- a/irc/anope/Makefile +++ b/irc/anope/Makefile @@ -47,6 +47,11 @@ SQLITE_USES= sqlite TRE_LIB_DEPENDS= libtre.so:textproc/libtre +post-patch: +# Avoid conflict with C++20 by adding -bin suffix + @${REINPLACE_CMD} -i .c++20 's/version /version-bin /' \ + ${WRKSRC}/include/CMakeLists.txt + post-patch-GNUTLS-on: ${LN} -s ${WRKSRC}/modules/extra/m_ssl_gnutls.cpp ${WRKSRC}/modules/