commit b95f095b2c0189cbceb781a6d530eef1bc056cb0 Author: Thomas Penteker <tek@serverop.de> Date: Mon Nov 30 01:45:51 2015 +0100 clang: avoid file conflicts with llvm diff --git a/clang/.footprint b/clang/.footprint index 760de87..71ef592 100644 --- a/clang/.footprint +++ b/clang/.footprint @@ -574,23 +574,3 @@ drwxr-xr-x root/root usr/lib/clang/3.7.0/include/ -rwxr-xr-x root/root usr/lib/libclangStaticAnalyzerFrontend.a -rwxr-xr-x root/root usr/lib/libclangTooling.a -rwxr-xr-x root/root usr/lib/libclangToolingCore.a -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/llvm/ -drwxr-xr-x root/root usr/share/llvm/cmake/ --rw-r--r-- root/root usr/share/llvm/cmake/AddLLVM.cmake --rw-r--r-- root/root usr/share/llvm/cmake/AddLLVMDefinitions.cmake --rw-r--r-- root/root usr/share/llvm/cmake/AddOCaml.cmake --rw-r--r-- root/root usr/share/llvm/cmake/AddSphinxTarget.cmake --rw-r--r-- root/root usr/share/llvm/cmake/ChooseMSVCCRT.cmake --rw-r--r-- root/root usr/share/llvm/cmake/CrossCompile.cmake --rw-r--r-- root/root usr/share/llvm/cmake/FindOCaml.cmake --rw-r--r-- root/root usr/share/llvm/cmake/FindSphinx.cmake --rw-r--r-- root/root usr/share/llvm/cmake/GetSVN.cmake --rw-r--r-- root/root usr/share/llvm/cmake/HandleLLVMOptions.cmake --rw-r--r-- root/root usr/share/llvm/cmake/HandleLLVMStdlib.cmake --rw-r--r-- root/root usr/share/llvm/cmake/LLVM-Config.cmake --rw-r--r-- root/root usr/share/llvm/cmake/LLVMConfig.cmake --rw-r--r-- root/root usr/share/llvm/cmake/LLVMConfigVersion.cmake --rw-r--r-- root/root usr/share/llvm/cmake/LLVMExports.cmake --rw-r--r-- root/root usr/share/llvm/cmake/LLVMProcessSources.cmake --rw-r--r-- root/root usr/share/llvm/cmake/TableGen.cmake diff --git a/clang/Pkgfile b/clang/Pkgfile index aaf344e..96e1e1e 100644 --- a/clang/Pkgfile +++ b/clang/Pkgfile @@ -39,4 +39,7 @@ build() { rm -r $PKG/usr/include/llvm{,-c} rm $PKG/usr/bin/{bugpoint,ll*,macho-dump,opt,FileCheck,count,not,obj2yaml,verify-uselistorder,yaml2obj} rm $PKG/usr/lib/{LLVMHello.so,BugpointPasses.so,libLTO.*,libLLVM*} + # avoid conflicts with opt/llvm + rm -r $PKG/usr/share/llvm + }