[packages/llvm] - adjusted clang resource path (should finally fix clang headers path) - release 3

qboosh qboosh at pld-linux.org
Sun Feb 17 15:33:33 CET 2013


commit 9206c2b1d0722ab5cc3d78b92dfa51d1ff66b86a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 17 15:33:38 2013 +0100

    - adjusted clang resource path (should finally fix clang headers path)
    - release 3

 llvm.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 81f4454..fb880ad 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -18,7 +18,7 @@ Summary:	The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
 Summary(pl.UTF-8):	Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
 Name:		llvm
 Version:	3.2
-Release:	2
+Release:	3
 License:	University of Illinois/NCSA Open Source License
 Group:		Development/Languages
 #Source0Download: http://llvm.org/releases/download.html
@@ -275,8 +275,10 @@ mv clang-*.* tools/clang
 
 # configure does not properly specify libdir
 %{__sed} -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}|g' Makefile.config.in
-%{__sed} -i 's|(PROJ_prefix)/lib/|(PROJ_prefix)/%{_lib}/|g' tools/clang/lib/Headers/Makefile
 %{__sed} -i 's|/lib/|/%{_lib}/|' lib/Support/Unix/Path.inc
+# clang resources
+%{__sed} -i 's|(PROJ_prefix)/lib/|(PROJ_prefix)/%{_lib}/|g' tools/clang/lib/Headers/Makefile
+%{__sed} -i 's|"lib"|"%{_lib}"|' tools/clang/lib/Driver/Driver.cpp
 
 grep -rl /usr/bin/env tools utils | xargs sed -i -e '1{
 	s,^#!.*bin/env python,#!%{__python},
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/9206c2b1d0722ab5cc3d78b92dfa51d1ff66b86a



More information about the pld-cvs-commit mailing list