summaryrefslogtreecommitdiff
path: root/devel/libnjs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libnjs/Makefile')
-rw-r--r--devel/libnjs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index 994535c81671..00e3f9cd00ff 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libnjs
-DISTVERSION= 0.8.10
+DISTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= devel www
MAINTAINER= osa@FreeBSD.org
@@ -26,7 +27,7 @@ CONFIGURE_ARGS= --cc-opt="-I${LOCALBASE}/include/quickjs" \
.include <bsd.port.pre.mk>
# Fixes build failed for Clang 19.1.3+
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500026 && ${CHOSEN_COMPILER_TYPE} == clang
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 191
CFLAGS+= -Wno-error=cast-function-type-mismatch
.endif