aboutsummaryrefslogtreecommitdiff
path: root/devel/llvm34
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2014-09-25 14:01:33 +0000
committerBrooks Davis <brooks@FreeBSD.org>2014-09-25 14:01:33 +0000
commita346ff16d3c0464eb614ba46da0f8dd055363010 (patch)
treeb188fe4409bf5d1c72c1b2b4c6e85d2ff4133756 /devel/llvm34
parent66d6f5cb1caee9fec5ddb4ff4498f6287b477d45 (diff)
downloadports-a346ff16d3c0464eb614ba46da0f8dd055363010.tar.gz
ports-a346ff16d3c0464eb614ba46da0f8dd055363010.zip
Notes
Diffstat (limited to 'devel/llvm34')
-rw-r--r--devel/llvm34/Makefile4
-rw-r--r--devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py5
2 files changed, 6 insertions, 3 deletions
diff --git a/devel/llvm34/Makefile b/devel/llvm34/Makefile
index 41687ae0522d..171423f81fa9 100644
--- a/devel/llvm34/Makefile
+++ b/devel/llvm34/Makefile
@@ -110,10 +110,10 @@ CONFIGURE_ARGS+= --disable-docs
.if ${PORT_OPTIONS:MLIT}
MAN1SRCS+= lit.1
-USE_PYTHON= yes
+USES+= python
LIT_COMMANDS= lit llvm-lit FileCheck
.else
-USE_PYTHON_BUILD= yes
+USES+= python:build
.endif
.if ${PORT_OPTIONS:MLTOPLUGIN}
diff --git a/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py b/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
index 1e2de0273d55..1ce78539be13 100644
--- a/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
+++ b/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py
@@ -3,13 +3,16 @@ $FreeBSD$
--- utils/llvm-build/llvmbuild/main.py.orig
+++ utils/llvm-build/llvmbuild/main.py
-@@ -633,7 +633,13 @@
+@@ -699,7 +699,16 @@
# We handle a few special cases of target names here for historical
# reasons, as these are the names configure currently comes up with.
- native_target_name = { 'x86' : 'X86',
+ native_target_name = { 'amd64' : 'X86',
+ 'arm' : 'ARM',
++ 'armeb' : 'ARM',
++ 'armv6' : 'ARM',
++ 'armv6hf' : 'ARM',
+ 'i386' : 'X86',
+ 'mips' : 'Mips',
+ 'powerpc' : 'PowerPC',