From: Victor Martinez Date: Thu, 5 Sep 2013 22:21:10 +0000 (+0200) Subject: libgmp: Aligned with upstream. Fixed libtool relink problem avoiding it directly X-Git-Url: http://gitweb/?a=commitdiff_plain;h=dd31bced38c909ca694f542fda1e3d92bc500566;p=crossrootfs.git libgmp: Aligned with upstream. Fixed libtool relink problem avoiding it directly --- diff --git a/libgmp/.footprint b/libgmp/.footprint index 2f8a8f2..74ea801 100644 --- a/libgmp/.footprint +++ b/libgmp/.footprint @@ -5,11 +5,11 @@ drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libgmp.a -rwxr-xr-x root/root usr/lib/libgmp.la -lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.0.5 -lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.0.5 --rwxr-xr-x root/root usr/lib/libgmp.so.10.0.5 +lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.1.2 +lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.1.2 +-rwxr-xr-x root/root usr/lib/libgmp.so.10.1.2 -rw-r--r-- root/root usr/lib/libgmpxx.a -rwxr-xr-x root/root usr/lib/libgmpxx.la -lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.2.5 -lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.2.5 --rwxr-xr-x root/root usr/lib/libgmpxx.so.4.2.5 +lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.3.2 +lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.3.2 +-rwxr-xr-x root/root usr/lib/libgmpxx.so.4.3.2 diff --git a/libgmp/.md5sum b/libgmp/.md5sum index 8d044b6..f023fc3 100644 --- a/libgmp/.md5sum +++ b/libgmp/.md5sum @@ -1 +1 @@ -8aef50959acec2a1ad41d144ffe0f3b5 gmp-5.0.5.tar.xz +06fe2ca164221c59ce74867155cfc1ac gmp-5.1.2.tar.xz diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index 0feb04a..361de2a 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,7 +5,7 @@ # Depends on: name=libgmp -version=5.0.5 +version=5.1.2 release=1 source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz) @@ -16,7 +16,14 @@ build() { --prefix=/usr \ --enable-cxx + # Avoid relinkng + sed "s|\$progpath \$preserve_args --mode=relink \$libtool_args|echo \"Avoid relinking\"|g" -i libtool + make + + # Cheat the installer + cp .libs/libgmpxx.so.4.3.2 .libs/libgmpxx.so.4.3.2T + make DESTDIR=$PKG install rm -r $PKG/usr/share }