diff options
Diffstat (limited to 'devel/py-libzfs/Makefile')
-rw-r--r-- | devel/py-libzfs/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/py-libzfs/Makefile b/devel/py-libzfs/Makefile index 7f4d3d64616a..02845cf57286 100644 --- a/devel/py-libzfs/Makefile +++ b/devel/py-libzfs/Makefile @@ -3,6 +3,7 @@ PORTNAME= libzfs PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -25,6 +26,10 @@ MAKE_ENV= FREEBSD_SRC=${SRC_BASE} .include <bsd.port.pre.mk> +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34 +.endif + .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel source files in ${SRC_BASE} .endif |