aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-05 17:13:38 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-05 18:09:01 +0000
commitab7d3166b3935ef4dcbc847c126044d54e38a1e9 (patch)
tree5bcd01d36e4ca5423bc4605cbf78a0df0fbf4a47
parent365553bf46d1d4de026b4fbe2ebff8628707b285 (diff)
downloadports-ab7d3166b3935ef4dcbc847c126044d54e38a1e9.tar.gz
ports-ab7d3166b3935ef4dcbc847c126044d54e38a1e9.zip
comms/libfap: Fix build with llvm15
- Pet portclippy Approved by: portmgr (blanket)
-rw-r--r--comms/libfap/Makefile12
1 files 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>