aboutsummaryrefslogtreecommitdiff
path: root/math/py-networkx
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-27 19:42:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-27 19:42:12 +0000
commit1701f697db9fb4f316d6bf443408119d09758a39 (patch)
treed2208ca05eae5c190e7785b3a9169e132456b108 /math/py-networkx
parent830af858258bdc3a892a964fd0e25fa1ee6fbd0d (diff)
downloadports-1701f697db9fb4f316d6bf443408119d09758a39.tar.gz
ports-1701f697db9fb4f316d6bf443408119d09758a39.zip
- Change condition to fix build with fmake when using python3.x
PR: 209514 Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=415960
Diffstat (limited to 'math/py-networkx')
-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 d7581678361c..005b1ffc3e58 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= *