Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2022 19:27:35 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 4404bb213b04 - 2022Q3 - math/kamis: Improve BROKEN lines
Message-ID:  <202207201927.26KJRZJQ013938@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q3 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4404bb213b045e6ab58ddcd05fcb37ce6036e31e

commit 4404bb213b045e6ab58ddcd05fcb37ce6036e31e
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:26:08 +0000

    math/kamis: Improve BROKEN lines
    
    (cherry picked from commit a1a827b846c42d7cf346ffe0c06fb6aea47ea23e)
---
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207201927.26KJRZJQ013938>