git: 9b38437ab28f - main - devel/apache-commons-daemon: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 19:30:57 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b38437ab28f16daa376f7782ec5e674bf8cec14 commit 9b38437ab28f16daa376f7782ec5e674bf8cec14 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-23 19:03:56 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-23 19:30:41 +0000 devel/apache-commons-daemon: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/apache-commons-daemon/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 \