[arch-commits] Commit in llvm/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Feb 26 18:14:47 UTC 2012


    Date: Sunday, February 26, 2012 @ 13:14:47
  Author: foutrelis
Revision: 151493

upgpkg: llvm 3.0-2

Fix FS#28479: LLVMgold.so needs to be installed in /usr/lib/bfd-plugins as well

Modified:
  llvm/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-26 17:43:00 UTC (rev 151492)
+++ PKGBUILD	2012-02-26 18:14:47 UTC (rev 151493)
@@ -11,7 +11,7 @@
 
 pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
 pkgver=3.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://llvm.org/"
 license=('custom:University of Illinois/NCSA Open Source License')
@@ -130,6 +130,11 @@
   install -d "$pkgdir/etc/ld.so.conf.d"
   echo /usr/lib/llvm >"$pkgdir/etc/ld.so.conf.d/llvm.conf"
 
+  # Symlink LLVMgold.so into /usr/lib/bfd-plugins
+  # (https://bugs.archlinux.org/task/28479)
+  install -d "$pkgdir/usr/lib/bfd-plugins"
+  ln -s ../llvm/LLVMgold.so "$pkgdir/usr/lib/bfd-plugins/LLVMgold.so"
+
   install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 




More information about the arch-commits mailing list