Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 22:31:46 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463077 - head/devel/py-libzfs
Message-ID:  <201802262231.w1QMVkfM027241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802262231.w1QMVkfM027241>