[arch-commits] Commit in llvm/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jan 14 06:45:18 UTC 2013
Date: Monday, January 14, 2013 @ 01:45:18
Author: foutrelis
Revision: 175115
upgpkg: llvm 3.2-4
Fix FS#33358: [clang-analyzer] scan-build looks in the wrong path for clang
Modified:
llvm/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-01-14 05:24:38 UTC (rev 175114)
+++ PKGBUILD 2013-01-14 06:45:18 UTC (rev 175115)
@@ -11,7 +11,7 @@
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.2
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
@@ -26,7 +26,7 @@
enable-lto.patch
llvm-3.1-fix-debug-line-info.patch
clang-3.1-fix-libprofile_rt.a-location.patch)
-sha256sums=('125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343'
+sha256sums=('378f9ed7126409785aa399bf367762753dbda563b60612dae1a92d5263ab8130'
'2aaaf03f7c0f6b16fe97ecc81247dc2bf2d4bec7620a77cc74670b7e07ff5658'
'a9a6b73a1bd5fc763f3b3826a6ce796cb150042d37d319e06e72d3d9778aaac1'
'312574e655f9a87784ca416949c505c452b819fad3061f2cde8aced6540a19a3'
@@ -228,6 +228,9 @@
ln -s /usr/lib/clang-analyzer/$_tool/$_tool "$pkgdir/usr/bin/"
done
+ # scan-build looks for clang within the same directory
+ ln -s /usr/bin/clang "$pkgdir/usr/lib/clang-analyzer/scan-build/"
+
# Relocate man page
install -d "$pkgdir/usr/share/man/man1"
mv "$pkgdir/usr/lib/clang-analyzer/scan-build/scan-build.1" \
More information about the arch-commits
mailing list