Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2022 01:33:27 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: fd3cc198d32a - 2022Q3 - graphics/py-pandana: Broken on systems where OpenMP isn't enabled
Message-ID:  <202207240133.26O1XRpZ066994@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=fd3cc198d32aed71bbfaf85d48346784c7347410

commit fd3cc198d32aed71bbfaf85d48346784c7347410
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-24 01:32:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-24 01:33:22 +0000

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

diff --git a/graphics/py-pandana/Makefile b/graphics/py-pandana/Makefile
index dc59aaf11932..b4ce5d1f6add 100644
--- a/graphics/py-pandana/Makefile
+++ b/graphics/py-pandana/Makefile
@@ -13,6 +13,10 @@ COMMENT=	Python library for network analysis
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0.25.2:lang/cython@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.8,1:math/py-numpy@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.8,1:math/py-numpy@${PY_FLAVOR} \



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