git: 992c83e724a6 - main - math/kamis: unbreak on libomp-less architectures

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 25 Dec 2022 13:12:46 UTC
The branch main has been updated by pkubaj:

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

commit 992c83e724a6c5437ec3d1d0321c7b08195c27e6
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-12-25 13:12:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-12-25 13:12:02 +0000

    math/kamis: unbreak on libomp-less architectures
    
    Builds fine with GCC on powerpc.
---
 math/kamis/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/math/kamis/Makefile b/math/kamis/Makefile
index 3fbe9daad211..26e3a11a13ac 100644
--- a/math/kamis/Makefile
+++ b/math/kamis/Makefile
@@ -11,13 +11,13 @@ WWW=		https://karlsruhemis.github.io/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-.if !exists(/usr/include/omp.h)
-BROKEN=		requires OpenMP support that is missing on this architecture
-.endif
-
 USES=		cmake
 USE_LDCONFIG=	yes
 
+.if !exists(/usr/include/omp.h)
+USES+=		compiler:gcc-c++11-lib
+.endif
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	KarlsruheMIS
 GH_PROJECT=	KaMIS