Unbreak build with default python version < 3.4

This commit is contained in:
Don Lewis 2015-10-21 23:55:22 +00:00
parent b1806eba48
commit c633c91439
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399939

View file

@ -24,4 +24,11 @@ USE_GNOME= pygobject
USES= python
USE_PYTHON= distutils
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
.endif
.include <bsd.port.post.mk>