git: a1a827b846c4 - main - math/kamis: Improve BROKEN lines
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Jul 2022 19:21:48 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a1a827b846c42d7cf346ffe0c06fb6aea47ea23e
commit a1a827b846c42d7cf346ffe0c06fb6aea47ea23e
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-20 19:13:22 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-20 19:21:45 +0000
math/kamis: Improve BROKEN lines
---
math/kamis/Makefile | 13 ++++---------
1 file 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>