diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-06 20:29:50 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-06 20:30:19 +0000 |
commit | 144b8438b316d92f5c64fa872dd1a18b3d46c7f4 (patch) | |
tree | 88bc42687bfbc68262fbf8cdb7634d0119f54908 | |
parent | b0f043f3992a409c1ccea788fcbef2dac81b3d8c (diff) | |
download | ports-144b8438b316d92f5c64fa872dd1a18b3d46c7f4.tar.gz ports-144b8438b316d92f5c64fa872dd1a18b3d46c7f4.zip |
net-p2p/opendchub: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | net-p2p/opendchub/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-p2p/opendchub/Makefile b/net-p2p/opendchub/Makefile index 7a6b69e944a5..4cf53747c3be 100644 --- a/net-p2p/opendchub/Makefile +++ b/net-p2p/opendchub/Makefile @@ -20,6 +20,12 @@ OPTIONS_DEFINE= DOCS PORTDOCS= README configfiles general scriptdoc PLIST_FILES= bin/${PORTNAME} +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + pre-install: @${CHMOD} a+rx ${WRKSRC}/install-sh |