[arch-commits] Commit in ldc/trunk (PKGBUILD)
Dan Printzell
wild at archlinux.org
Tue Jan 9 20:44:15 UTC 2018
Date: Tuesday, January 9, 2018 @ 20:44:13
Author: wild
Revision: 280768
upgpkg: ldc 1:1.7.0-2
Fixed path for finding the AddressSanitizer libraries
Modified:
ldc/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-09 20:32:28 UTC (rev 280767)
+++ PKGBUILD 2018-01-09 20:44:13 UTC (rev 280768)
@@ -8,8 +8,9 @@
pkgver=1.7.0
_pkgcommit=b0b5bed08bc3e05f41ab31e5c72e56624ee63115
_dversion=2.077.1
+_llvmversion=5.0.1
epoch=1
-pkgrel=1
+pkgrel=2
pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
arch=('x86_64')
url="https://github.com/ldc-developers/ldc"
@@ -38,6 +39,9 @@
git config submodule.phobos.url "$srcdir/phobos"
git config submodule.tests/d2/dmd-testsuite.url "$srcdir/dmd-testsuite"
git submodule update
+
+ # libclang_rt* -> clang/_llvmversion/lib/linux/libclang_rt*
+ sed -i "s/libclang_rt/clang\/$_llvmversion\/lib\/linux\/&/g" driver/linker-gcc.cpp
}
build() {
@@ -60,7 +64,7 @@
}
package_ldc() {
- depends=('liblphobos' 'llvm-libs')
+ depends=('liblphobos' 'llvm-libs' 'llvm')
backup=('etc/ldc2.conf')
provides=("d-compiler=$_dversion")
@@ -76,8 +80,6 @@
rm -rf "$pkgdir/usr/include"
rm -rf "$pkgdir/usr/lib"
- # remove misc
-
# symlinks
ln -s /usr/share/bash-completion/completions/ldc2 "$pkgdir/usr/share/bash-completion/completions/ldc"
ln -s /usr/bin/ldc2 "$pkgdir/usr/bin/ldc"
More information about the arch-commits
mailing list