aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-28 03:42:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-28 03:42:12 +0800
commit53b49679250e553aa20069b7cfe805651344b584 (patch)
treed2208ca05eae5c190e7785b3a9169e132456b108 /math
parent83db4962462f6d91dff54ffe2002fd80b3a302f9 (diff)
downloadfreebsd-ports-graphics-53b49679250e553aa20069b7cfe805651344b584.tar.gz
freebsd-ports-graphics-53b49679250e553aa20069b7cfe805651344b584.tar.zst
freebsd-ports-graphics-53b49679250e553aa20069b7cfe805651344b584.zip
- Change condition to fix build with fmake when using python3.x
PR: 209514 Approved by: portmgr blanket
Diffstat (limited to 'math')
-rw-r--r--math/py-networkx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile
index d7581678361..005b1ffc3e5 100644
--- a/math/py-networkx/Makefile
+++ b/math/py-networkx/Makefile
@@ -49,8 +49,10 @@ YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} >= 3000 && (${PORT_OPTIONS:MMPL} || ${PORT_OPTIONS:MGRAPHVIZ})
+.if ${PYTHON_REL} >= 3000
+. if ${PORT_OPTIONS:MMPL} || ${PORT_OPTIONS:MGRAPHVIZ}
BROKEN= Neither math/py-matplotlib nor graphics/py-graphviz support Python 3.x yet. Please disable both the MPL and GRAPHVIZ options
+. endif
.endif
PORTEXAMPLES= *