aboutsummaryrefslogtreecommitdiff
path: root/devel/py-bison/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-bison/Makefile')
-rw-r--r--devel/py-bison/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/py-bison/Makefile b/devel/py-bison/Makefile
index 23ab3606e042..c1643dc2dcd6 100644
--- a/devel/py-bison/Makefile
+++ b/devel/py-bison/Makefile
@@ -15,11 +15,11 @@ COMMENT= Python-based parsing at the speed of C
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= pyrex>=0.9.6.2:devel/pyrex
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyrex>=0.9.6.2:devel/pyrex@${FLAVOR}
OPTIONS_DEFINE= DOCS EXAMPLES
-USES= bison:both python
+USES= bison:both python:2.7
USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}