summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-09-24 20:05:16 +0200
committerpiernov <piernov@piernov.org>2011-09-24 20:05:53 +0200
commit43db3f31c57d10e9c38c1788af28766f789b6f8e (patch)
tree6dcd4145fd86476d1f2d9979115aa89d9013d37f
parent1a5528a21cd48e389c75dd680fcafe1cf596e889 (diff)
downloadnutyx-extra-43db3f31c57d10e9c38c1788af28766f789b6f8e.tar.gz
nutyx-extra-43db3f31c57d10e9c38c1788af28766f789b6f8e.tar.bz2
nutyx-extra-43db3f31c57d10e9c38c1788af28766f789b6f8e.tar.xz
nutyx-extra-43db3f31c57d10e9c38c1788af28766f789b6f8e.zip
llvm 2.9-1 correction port
-rw-r--r--extra/llvm/.footprint.i6863
-rw-r--r--extra/llvm/.footprint.x86_643
-rw-r--r--extra/llvm/Pkgfile5
3 files changed, 11 insertions, 0 deletions
diff --git a/extra/llvm/.footprint.i686 b/extra/llvm/.footprint.i686
index e452d171e..fe15f8024 100644
--- a/extra/llvm/.footprint.i686
+++ b/extra/llvm/.footprint.i686
@@ -1,3 +1,6 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/ld.so.conf.d/
+-rw-r--r-- root/root etc/ld.so.conf.d/llvm.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/bugpoint
diff --git a/extra/llvm/.footprint.x86_64 b/extra/llvm/.footprint.x86_64
index e452d171e..fe15f8024 100644
--- a/extra/llvm/.footprint.x86_64
+++ b/extra/llvm/.footprint.x86_64
@@ -1,3 +1,6 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/ld.so.conf.d/
+-rw-r--r-- root/root etc/ld.so.conf.d/llvm.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/bugpoint
diff --git a/extra/llvm/Pkgfile b/extra/llvm/Pkgfile
index 9a45e6cae..06faa4b95 100644
--- a/extra/llvm/Pkgfile
+++ b/extra/llvm/Pkgfile
@@ -36,4 +36,9 @@ build() {
--enable-pic=$enable_pic
make
make DESTDIR=$PKG KEEP_SYMBOLS=1 PROJ_docsdir=/usr/share/$name PROJ_etcdir=/etc/$name PROJ_libdir=/usr/lib/$name install
+
+ sed -i -e "s|ABS_RUN_DIR/lib.*\"|ABS_RUN_DIR/lib/$name\"|" $PKG/usr/bin/llvm-config
+
+ install -d $PKG/etc/ld.so.conf.d
+ echo /usr/lib/llvm > $PKG/etc/ld.so.conf.d/llvm.conf
}