Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2015 23:13:27 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399882 - head/devel/llvm37
Message-ID:  <201510202313.t9KNDR4u018899@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Oct 20 23:13:26 2015
New Revision: 399882
URL: https://svnweb.freebsd.org/changeset/ports/399882

Log:
  Only apply the LLDB packages if we're going to build it.
  
  PR:		203890

Modified:
  head/devel/llvm37/Makefile

Modified: head/devel/llvm37/Makefile
==============================================================================
--- head/devel/llvm37/Makefile	Tue Oct 20 20:47:20 2015	(r399881)
+++ head/devel/llvm37/Makefile	Tue Oct 20 23:13:26 2015	(r399882)
@@ -67,9 +67,6 @@ LLD_DISTFILES=		lld-${DISTVERSION}.src${
 LLDB_DESC=		Install lldb, the LLVM debugger (ignored on 9.x)
 LLDB_BUILD_DEPENDS=	swig:${PORTSDIR}/devel/swig13
 LLDB_DISTFILES=		lldb-${DISTVERSION}.src${EXTRACT_SUFX}
-LLDB_EXTRA_PATCHES= \
-	${PATCHDIR}/lldb-patch-svn-247116 \
-	${PATCHDIR}/lldb-patch-svn-249467
 OPENMP_DESC=		Install libomp, the LLVM OpenMP runtime library
 OPENMP_DISTFILES=	openmp-${DISTVERSION}.src${EXTRACT_SUFX}
 GOLD_DESC=		Build the LLVM Gold plugin for LTO
@@ -246,6 +243,12 @@ LLDB_BUILD_DEPENDS+= \
 .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang
 # Evil hack around gcc48 not providing a usable c++11 environment on 9.x
 PLIST_SUB:=	${PLIST_SUB:NLLDB=*} LLDB="@comment "
+.else
+.if ${PORT_OPTIONS:MLLD}
+EXTRA_PATCHES+= \
+	${PATCHDIR}/lldb-patch-svn-247116 \
+	${PATCHDIR}/lldb-patch-svn-249467
+.endif
 .endif
 
 post-extract-CLANG-on:



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