git: d6119b94a3da - main - math/kamis: Broken on armv6, armv7, riscv64

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 16 Jul 2022 16:24:50 UTC
The branch main has been updated by yuri:

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

commit d6119b94a3dad8233f2da6dee1c957d205ad69ee
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-16 15:47:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-16 16:24:48 +0000

    math/kamis: Broken on armv6, armv7, riscv64
    
    Reported by:    fallout
---
 math/kamis/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/math/kamis/Makefile b/math/kamis/Makefile
index 2794cab7f0bc..2185a844f918 100644
--- a/math/kamis/Makefile
+++ b/math/kamis/Makefile
@@ -10,6 +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
+
 USES=		cmake
 USE_LDCONFIG=	yes
 
@@ -22,4 +25,10 @@ PLIST_FILES=	bin/graphchecker \
 		bin/redumis \
 		bin/sort_adjacencies
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1301000
+BROKEN_riscv64=	fatal error: 'omp.h' file not found
+.endif
+
+.include <bsd.port.post.mk>