svn commit: r470741 - head/devel/llvm50

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed May 23 23:24:56 UTC 2018


Author: sunpoet
Date: Wed May 23 23:24:54 2018
New Revision: 470741
URL: https://svnweb.freebsd.org/changeset/ports/470741

Log:
  Simplify Makefile: use PY_ENUM34
  
  With hat:	python

Modified:
  head/devel/llvm50/Makefile

Modified: head/devel/llvm50/Makefile
==============================================================================
--- head/devel/llvm50/Makefile	Wed May 23 23:24:49 2018	(r470740)
+++ head/devel/llvm50/Makefile	Wed May 23 23:24:54 2018	(r470741)
@@ -90,7 +90,8 @@ LIT_DESC=		Install lit and FileCheck test tools
 LIT_VARS=		_USES_PYTHON=python:2.7
 LLD_DESC=		Install lld, the LLVM linker
 LLD_DISTFILES=		lld-${DISTVERSION}.src${EXTRACT_SUFX}
-LLDB_BUILD_DEPENDS=	swig3.0:devel/swig30
+LLDB_BUILD_DEPENDS=	swig3.0:devel/swig30 \
+			${PY_ENUM34}
 LLDB_DESC=		Install lldb, the LLVM debugger
 LLDB_DISTFILES=		lldb-${DISTVERSION}.src${EXTRACT_SUFX}
 LLDB_IMPLIES=		CLANG
@@ -342,11 +343,6 @@ CXXFLAGS+=	-D_GLIBCXX_USE_C99
 BUILD_DEPENDS+=	${LOCALBASE}/bin/ld:devel/binutils
 CONFIGURE_ENV+=	COMPILER_PATH=${LOCALBASE}/bin
 MAKE_ENV+=	COMPILER_PATH=${LOCALBASE}/bin
-.endif
-
-.if ${PYTHON_REL} < 3400
-LLDB_BUILD_DEPENDS+= \
-	${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${PY_FLAVOR}
 .endif
 
 post-extract-CLANG-on:


More information about the svn-ports-head mailing list