Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2022 07:41:34 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6c977db8c662 - main - math/saga: Broken on systems where OpenMP isn't enabled
Message-ID:  <202208040741.2747fYs4048767@gitrepo.freebsd.org>

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

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

commit 6c977db8c662acb39805c8591c64fec68657155d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-04 07:31:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-04 07:41:23 +0000

    math/saga: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    Approved by:    portmgr (blanket)
---
 math/saga/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/math/saga/Makefile b/math/saga/Makefile
index 585f110bdffb..73daeed1e329 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -10,6 +10,10 @@ COMMENT=	System for Automated Geoscientific Analyses
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 BUILD_DEPENDS=	clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \
 		swig:devel/swig
 LIB_DEPENDS=	libcurl.so:ftp/curl \



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