aboutsummaryrefslogtreecommitdiff
path: root/devel/json-fortran/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/json-fortran/Makefile')
-rw-r--r--devel/json-fortran/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/devel/json-fortran/Makefile b/devel/json-fortran/Makefile
index c013f28d0338..e9177a7d76f9 100644
--- a/devel/json-fortran/Makefile
+++ b/devel/json-fortran/Makefile
@@ -1,5 +1,5 @@
PORTNAME= json-fortran
-DISTVERSION= 9.0.2
+DISTVERSION= 9.0.5
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
@@ -21,4 +21,15 @@ CMAKE_OFF= JSONFORTRAN_ENABLE_TESTS
CMAKE_TESTING_ON= JSONFORTRAN_ENABLE_TESTS ENABLE_TESTS
CMAKE_TESTING_TARGET= check
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${FORTRAN_DEFAULT} == flang
+PLIST_SUB+= LIBSUFFIX=llvmflang
+TESTING_UNSAFE= https://github.com/llvm/llvm-project/issues/161568
+.else
+PLIST_SUB+= LIBSUFFIX=gnu
+.endif
+
+# tests as of 9.0.5: 100% tests passed, 0 tests failed out of 53
+
+.include <bsd.port.post.mk>