aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-23 19:03:56 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-23 19:30:41 +0000
commit9b38437ab28f16daa376f7782ec5e674bf8cec14 (patch)
tree63935702a21bb49d87aae37449028282958dad8f
parentc2e57dd637b7daec09549f98b32e6274e8ae2716 (diff)
downloadports-9b38437ab28f16daa376f7782ec5e674bf8cec14.tar.gz
ports-9b38437ab28f16daa376f7782ec5e674bf8cec14.zip
devel/apache-commons-daemon: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--devel/apache-commons-daemon/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/apache-commons-daemon/Makefile b/devel/apache-commons-daemon/Makefile
index c838e9622158..b8665cdfbf87 100644
--- a/devel/apache-commons-daemon/Makefile
+++ b/devel/apache-commons-daemon/Makefile
@@ -27,6 +27,12 @@ PLIST_FILES= bin/jsvc %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= *
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jsvc ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKBIN}/${DISTNAME}.jar \