svn commit: r470742 - head/devel/llvm60

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


Author: sunpoet
Date: Wed May 23 23:25:00 2018
New Revision: 470742
URL: https://svnweb.freebsd.org/changeset/ports/470742

Log:
  Simplify Makefile: use PY_ENUM34
  
  With hat:	python

Modified:
  head/devel/llvm60/Makefile

Modified: head/devel/llvm60/Makefile
==============================================================================
--- head/devel/llvm60/Makefile	Wed May 23 23:24:54 2018	(r470741)
+++ head/devel/llvm60/Makefile	Wed May 23 23:25:00 2018	(r470742)
@@ -83,7 +83,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
@@ -347,11 +348,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