summaryrefslogtreecommitdiffstats
path: root/main/llvm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-11 13:22:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-11 13:22:18 +0000
commit09c248a92abc3f339b9e7b21c2108dfdee299e67 (patch)
tree541082e1eb9cd574336e8e84744530bfce903af0 /main/llvm
parentcb975870f422fb8587384a8f9d47bfd630c86eab (diff)
downloadaports-09c248a92abc3f339b9e7b21c2108dfdee299e67.tar.bz2
aports-09c248a92abc3f339b9e7b21c2108dfdee299e67.tar.xz
main/llvm: remove rpath
Diffstat (limited to 'main/llvm')
-rw-r--r--main/llvm/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/llvm/APKBUILD b/main/llvm/APKBUILD
index 659240db8..1a9e9df23 100644
--- a/main/llvm/APKBUILD
+++ b/main/llvm/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=llvm
pkgver=3.1
-pkgrel=0
+pkgrel=1
pkgdesc="low level virtual machine compiler system"
arch="x86 x86_64"
url="http://llvm.org/"
license="UOI-NCSA"
depends=
depends_dev="perl"
-makedepends="$depends_dev groff libffi-dev python"
+makedepends="$depends_dev groff libffi-dev python chrpath"
install=
subpackages="clang $pkgname-dev $pkgname-doc $pkgname-libs"
source="http://llvm.org/releases/$pkgver/llvm-$pkgver.src.tar.gz
@@ -68,6 +68,7 @@ package() {
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/docs/llvm "$pkgdir"/usr/share/doc/ || return 1
rmdir "$pkgdir"/usr/docs || return 1
+ chrpath -d "$pkgdir"/usr/bin/* "$pkgdir"/usr/lib/*.so
}
clang() {