Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 22:31:52 +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: r463078 - head/devel/py-llvmlite
Message-ID:  <201802262231.w1QMVqAZ027350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Feb 26 22:31:51 2018
New Revision: 463078
URL: https://svnweb.freebsd.org/changeset/ports/463078

Log:
  Simplify Makefile: use PY_ENUM34
  
  With hat:	python

Modified:
  head/devel/py-llvmlite/Makefile

Modified: head/devel/py-llvmlite/Makefile
==============================================================================
--- head/devel/py-llvmlite/Makefile	Mon Feb 26 22:31:46 2018	(r463077)
+++ head/devel/py-llvmlite/Makefile	Mon Feb 26 22:31:51 2018	(r463078)
@@ -16,20 +16,15 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_powerpc64=	fails to compile: clang++: not found
 
+BUILD_DEPENDS=	${PY_ENUM34}
+
 # Python 2.7,3.4+
 USES=		python fortran
 USE_PYTHON=	distutils autoplist
 
-.include <bsd.port.pre.mk>
-
 # llvmlite-0.13.0 requires devel/llvm38
 LLVM_VER=	39
 
-# Python 2.7 requires enum34, unnecessary for Python 3.4+
-.if ${PYTHON_REL} < 3400
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${FLAVOR}
-.endif
-
 BUILD_DEPENDS+=	llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
 
 MAKE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER}
@@ -39,4 +34,4 @@ post-patch:
 	${REINPLACE_CMD} -e "s|%%_GCC_VER%%|${_GCC_VER}|" \
 		${WRKSRC}/ffi/Makefile.freebsd
 
-.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.w1QMVqAZ027350>