git: ab7d3166b393 - main - comms/libfap: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 18:09:16 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab7d3166b3935ef4dcbc847c126044d54e38a1e9 commit ab7d3166b3935ef4dcbc847c126044d54e38a1e9 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-05 17:13:38 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-05 18:09:01 +0000 comms/libfap: Fix build with llvm15 - Pet portclippy Approved by: portmgr (blanket) --- comms/libfap/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/comms/libfap/Makefile b/comms/libfap/Makefile index a7f299be03e2..3f4d38673423 100644 --- a/comms/libfap/Makefile +++ b/comms/libfap/Makefile @@ -13,8 +13,16 @@ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool -HAS_CONFIGURE= yes USE_LDCONFIG= yes + +HAS_CONFIGURE= yes + INSTALL_TARGET= install-strip -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + +.include <bsd.port.post.mk>