aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2015-06-26 03:44:36 +0800
committerwg <wg@FreeBSD.org>2015-06-26 03:44:36 +0800
commit090960ebb3ffdfe9db0ca375fb79f1d9f1a644c2 (patch)
treeb2ffa7b8d38443de6e043ca92d52b29b886f213c /devel
parentc4406cb847d1e53505325cc320cd4b18f9cd01d2 (diff)
downloadfreebsd-ports-gnome-090960ebb3ffdfe9db0ca375fb79f1d9f1a644c2.tar.gz
freebsd-ports-gnome-090960ebb3ffdfe9db0ca375fb79f1d9f1a644c2.tar.zst
freebsd-ports-gnome-090960ebb3ffdfe9db0ca375fb79f1d9f1a644c2.zip
devel/py-libzfs: add missing run dependency
Reported by: rm
Diffstat (limited to 'devel')
-rw-r--r--devel/py-libzfs/Makefile5
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