aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-07-24 01:32:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-07-24 01:33:22 +0000
commitfd3cc198d32aed71bbfaf85d48346784c7347410 (patch)
tree58c90962a7d581a701652cf11240802805a99c1f
parentcaf8bfea46165380fbe21e187a8bb7522484c73f (diff)
downloadports-fd3cc198d32aed71bbfaf85d48346784c7347410.tar.gz
ports-fd3cc198d32aed71bbfaf85d48346784c7347410.zip
graphics/py-pandana: Broken on systems where OpenMP isn't enabled
Reported by: fallout Approved by: portmgr (blanket) (cherry picked from commit edaa8d6eaf225fbb0217798536ad1555d261240a)
-rw-r--r--graphics/py-pandana/Makefile4
1 files changed, 4 insertions, 0 deletions
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} \