svn commit: r463077 - head/devel/py-libzfs

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Feb 26 22:31:47 UTC 2018


Author: sunpoet
Date: Mon Feb 26 22:31:46 2018
New Revision: 463077
URL: https://svnweb.freebsd.org/changeset/ports/463077

Log:
  Simplify Makefile: use PY_ENUM34
  
  With hat:	python

Modified:
  head/devel/py-libzfs/Makefile

Modified: head/devel/py-libzfs/Makefile
==============================================================================
--- head/devel/py-libzfs/Makefile	Mon Feb 26 22:31:41 2018	(r463076)
+++ head/devel/py-libzfs/Makefile	Mon Feb 26 22:31:46 2018	(r463077)
@@ -13,6 +13,8 @@ LICENSE=	BSD2CLAUSE
 
 BROKEN_powerpc64=	fails to build: libzfs.c: error: convert_for_assignment: incompatible type for argument 3 of zfs_path_to_zhandle
 
+RUN_DEPENDS=	${PY_ENUM34}
+
 USE_GITHUB=     yes
 GH_ACCOUNT=	freenas
 GH_PROJECT=	py-libzfs
@@ -23,14 +25,8 @@ USE_PYTHON=	autoplist distutils cython
 
 MAKE_ENV=	FREEBSD_SRC=${SRC_BASE}
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3400
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${FLAVOR}
-.endif
-
 .if !exists(${SRC_BASE}/sys/Makefile)
 IGNORE=	requires kernel source files in ${SRC_BASE}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list