Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2022 07:43:40 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: 4b57aa7b7a5d - 2022Q3 - science/xtb: Broken on systems where OpenMP isn't enabled
Message-ID:  <202208040743.2747heRY053529@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=4b57aa7b7a5d4bccb070be0f37d0850f8b1fbce0

commit 4b57aa7b7a5d4bccb070be0f37d0850f8b1fbce0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-04 07:33:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-04 07:43:35 +0000

    science/xtb: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    Approved by:    portmgr (blanket)
    
    (cherry picked from commit ebb4aa7f30dfdbec551c1ba50439a4cf116fcd11)
---
 science/xtb/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/science/xtb/Makefile b/science/xtb/Makefile
index 84b637458c40..7a5bcad6afb7 100644
--- a/science/xtb/Makefile
+++ b/science/xtb/Makefile
@@ -11,6 +11,10 @@ COMMENT=	Semiempirical Extended Tight-Binding Program Package
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 USES=		fortran cmake blaslapack:openblas
 
 USE_GITHUB=	yes



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