llvm: fix cross build; add new libllvm soname.

This commit is contained in:
Juan RP 2014-01-07 09:44:19 +01:00
parent bc7f6a614f
commit 5e317e9d5a
2 changed files with 3 additions and 5 deletions

View file

@ -921,6 +921,7 @@ libgtksourceviewmm-3.0.so.0 gtksourceviewmm-3.2.0_1
libyajl.so.2 yajl-2.0.1_1
libconfuse.so.0 confuse-2.7_1
libLLVM-3.3.so libllvm-3.3_4
libLLVM-3.4.so libllvm-3.4_1
libisofs.so.6 libisofs-0.6.24_1
libbfd-2.22.so binutils-2.22_1<2.23_1
libopcodes-2.22.so binutils-2.22_1<2.23_1

View file

@ -5,7 +5,7 @@ wrksrc="llvm-${version}"
revision=1
configure_args="--disable-expensive-checks --disable-debug-runtime
--enable-bindings=none --enable-optimize --enable-shared --enable-libffi
--enable-llvmc-dynamic --disable-assertions"
--enable-llvmc-dynamic --disable-assertions --enable-keep-symbols"
short_desc="Low Level Virtual Machine"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.llvm.org"
@ -20,7 +20,7 @@ checksum="
f37c89b1383ce462d47537a0245ac798600887a9be9f63073e16b79ed536ab5c"
# XXX Investigate ocaml bindings.
hostmakedepends="groff bsdtar perl python"
hostmakedepends="groff perl python zlib-devel"
makedepends="zlib-devel libffi-devel"
post_extract() {
@ -37,9 +37,6 @@ post_extract() {
do_configure() {
unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS
# Don't let llvm strip bins.
sed -e '/Install.StripFlag += -s/d' -i Makefile.rules
# Fix installation directories, ./configure doesn't seem to set them right
sed -i -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \
-e 's:\$(PROJ_prefix)/docs/llvm:$(PROJ_prefix)/share/doc/llvm:' \