aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-20 13:14:48 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-20 17:42:33 +0000
commit6ed80586a3460340859a61befb4a08556ab0f39a (patch)
tree869689a778928793f8edfdd7ad9555f726545294
parent9f87b5e2244527b66b29a87054a8df2bc8ec417f (diff)
downloadports-6ed80586a3460340859a61befb4a08556ab0f39a.tar.gz
ports-6ed80586a3460340859a61befb4a08556ab0f39a.zip
editors/uzap: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--editors/uzap/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile
index e2d886d7af99..c6d40adf57de 100644
--- a/editors/uzap/Makefile
+++ b/editors/uzap/Makefile
@@ -18,6 +18,13 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
USES= ncurses
NO_WRKSUBDIR= yes
+
PLIST_FILES= bin/uzap man/man1/uzap.1.gz
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.include <bsd.port.mk>