aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-07-20 19:13:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-07-20 19:26:08 +0000
commit4404bb213b045e6ab58ddcd05fcb37ce6036e31e (patch)
tree35970145a2fe4a4f7a920b70fe4eb218d8219067
parent2f29cd26e03bc441f8afa45594ea71efad5a3d68 (diff)
downloadports-4404bb213b045e6ab58ddcd05fcb37ce6036e31e.tar.gz
ports-4404bb213b045e6ab58ddcd05fcb37ce6036e31e.zip
math/kamis: Improve BROKEN lines
(cherry picked from commit a1a827b846c42d7cf346ffe0c06fb6aea47ea23e)
-rw-r--r--math/kamis/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/math/kamis/Makefile b/math/kamis/Makefile
index 2185a844f918..0aedb9ab8d54 100644
--- a/math/kamis/Makefile
+++ b/math/kamis/Makefile
@@ -10,8 +10,9 @@ COMMENT= Maximum independent sets and vertex covers of large sparse graphs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_armv6= fatal error: 'omp.h' file not found
-BROKEN_armv7= fatal error: 'omp.h' file not found
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
USES= cmake
USE_LDCONFIG= yes
@@ -25,10 +26,4 @@ PLIST_FILES= bin/graphchecker \
bin/redumis \
bin/sort_adjacencies
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1301000
-BROKEN_riscv64= fatal error: 'omp.h' file not found
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>