security/py-cryptography: Fix build with Python 3.3

PR:		219833
Reported by:	koobs
Approved by:	portmgr blanket
This commit is contained in:
Ben Woods 2017-06-10 03:16:44 +00:00
parent 9faa2f9ba1
commit fca7fa07aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443067

View File

@ -33,8 +33,10 @@ LDFLAGS+= -L${OPENSSLLIB}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress
.endif
.if ${PYTHON_REL} < 3400
.if ${PYTHON_REL} < 3300
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34
.elif ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py3-enum34
.endif
post-install: