diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-08 01:16:33 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-08 01:48:39 +0000 |
commit | dfbc45cbf00fe37dec9c0c2023e47efff9d2cf35 (patch) | |
tree | bd2f37d08d9db534e39efa86879b2f7f047c5572 | |
parent | bce060ec47f1328aaac68a24974f80e69b4f8d7e (diff) | |
download | ports-dfbc45cbf00fe37dec9c0c2023e47efff9d2cf35.tar.gz ports-dfbc45cbf00fe37dec9c0c2023e47efff9d2cf35.zip |
devel/sope2: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | devel/sope2/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/sope2/Makefile b/devel/sope2/Makefile index 39c84d44d31e..aa70d82beba5 100644 --- a/devel/sope2/Makefile +++ b/devel/sope2/Makefile @@ -39,6 +39,12 @@ PGSQL_USES= pgsql MYSQL_USES= mysql MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +ADDITIONAL_CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure |