From 43db3f31c57d10e9c38c1788af28766f789b6f8e Mon Sep 17 00:00:00 2001 From: piernov Date: Sat, 24 Sep 2011 20:05:16 +0200 Subject: llvm 2.9-1 correction port --- extra/llvm/.footprint.i686 | 3 +++ extra/llvm/.footprint.x86_64 | 3 +++ extra/llvm/Pkgfile | 5 +++++ 3 files changed, 11 insertions(+) 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 } -- cgit v1.2.3-70-g09d2