Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2016 20:21:37 +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: r409443 - head/devel/llvm-devel
Message-ID:  <201602232021.u1NKLbpq022493@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Feb 23 20:21:37 2016
New Revision: 409443
URL: https://svnweb.freebsd.org/changeset/ports/409443

Log:
  LLD also doesn't build on 9 due to broken C++11 support.

Modified:
  head/devel/llvm-devel/Makefile

Modified: head/devel/llvm-devel/Makefile
==============================================================================
--- head/devel/llvm-devel/Makefile	Tue Feb 23 20:17:56 2016	(r409442)
+++ head/devel/llvm-devel/Makefile	Tue Feb 23 20:21:37 2016	(r409443)
@@ -154,12 +154,6 @@ _USES_PYTHON=	python
 LIT_COMMANDS=	lit llvm-lit FileCheck
 .endif
 
-.if ${PORT_OPTIONS:MLLD}
-COMMANDS+=	lld \
-		lld-link
-PORTDOCS+=	lld
-.endif
-
 .if ${PORT_OPTIONS:MLLDB}
 COMMANDS+=	lldb \
 		lldb-argdumper \
@@ -196,10 +190,19 @@ PORTDOCS+=	clang-tools
 .endif
 .endif
 
+.if ${PORT_OPTIONS:MLLD}
+.if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang
+COMMANDS+=	lld \
+		lld-link
+PORTDOCS+=	lld
+.endif
+.endif
+
 .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang
 # Evil hack around gcc48 not providing a usable c++11 environment on 9.x
 PLIST_SUB:=	${PLIST_SUB:NEXTRAS=*} EXTRAS="@comment "
 PLIST_SUB:=	${PLIST_SUB:NLLDB=*} LLDB="@comment "
+PLIST_SUB:=	${PLIST_SUB:NLLD=*} LLD="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MLLDB} && ${PYTHON_REL} >= 3000
@@ -215,7 +218,9 @@ post-extract-EXTRAS-on:
 .endif
 
 post-extract-LLD-on:
+.if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang
 	${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld
+.endif
 
 post-extract-LLDB-on:
 .if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang



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