summaryrefslogtreecommitdiff
path: root/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2013-06-11 18:50:29 +0000
committerBrooks Davis <brooks@FreeBSD.org>2013-06-11 18:50:29 +0000
commit6839fd47fe84b020377a4f15366664480fe98b63 (patch)
tree91574cdc2ac64f284e051f5a6fef5dc392b02d73 /devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py
parentUpdate to 4.8S.5. (diff)
Add ports of clang and LLVM 3.3.rc3. Unlike previous ports these
install primarily in ${PREFIX}/llvm33 with wrapper scripts in ${PREFIX}/bin named clang33, llc33, etc. In an additional change, the clang static analyzer's python wrapper and web bits are not installed.
Diffstat (limited to 'devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py')
-rw-r--r--devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py b/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py
new file mode 100644
index 000000000000..1e2de0273d55
--- /dev/null
+++ b/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- utils/llvm-build/llvmbuild/main.py.orig
++++ utils/llvm-build/llvmbuild/main.py
+@@ -633,7 +633,13 @@
+
+ # 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',
++ 'i386' : 'X86',
++ 'mips' : 'Mips',
++ 'powerpc' : 'PowerPC',
++ 'sparc64' : 'Sparc',
++ 'x86' : 'X86',
+ 'x86_64' : 'X86',
+ 'Unknown' : None }.get(opts.native_target,
+ opts.native_target)