From 6839fd47fe84b020377a4f15366664480fe98b63 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Tue, 11 Jun 2013 18:50:29 +0000 Subject: 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. --- .../files/patch-utils_llvm-build_llvmbuild_main.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py (limited to 'devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py') 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) -- cgit v1.2.3