core/libtool: armv7 test patch

This commit is contained in:
Kevin Mihelich 2014-12-14 17:22:09 +00:00
parent 10b8610f7e
commit ffac4f9d25
2 changed files with 25 additions and 12 deletions

View file

@ -4,12 +4,6 @@
# NOTE: requires rebuilt with each new gcc version # NOTE: requires rebuilt with each new gcc version
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - noautobuild, !distcc
# - removed multilib stuff
noautobuild=1
pkgname=libtool pkgname=libtool
pkgver=2.4.4 pkgver=2.4.4
pkgrel=2 pkgrel=2
@ -20,18 +14,25 @@ license=('GPL')
groups=('base-devel') groups=('base-devel')
depends=('sh' 'tar' 'glibc') depends=('sh' 'tar' 'glibc')
makedepends=('gcc') makedepends=('gcc')
provides=("libltdl=$pkgver") provides=("libltdl=$pkgver" "libtool-multilib=$pkgver")
conflicts=('libltdl') conflicts=('libltdl' 'libtool-multilib')
replaces=('libltdl') replaces=('libltdl' 'libtool-multilib')
install=libtool.install install=libtool.install
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}) source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}
armv7h-nopic.patch)
md5sums=('51bf400de3354687d68dfa2392506b7e' md5sums=('51bf400de3354687d68dfa2392506b7e'
'SKIP') 'SKIP'
'8a1fdc77814fa5db3fc4d6a888d0cd89')
validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606') validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606')
prepare() {
cd ${srcdir}/${pkgbase}-${pkgver}
patch -p1 -i ../armv7h-nopic.patch
}
build() { build() {
cd ${srcdir}/${pkgbase}-${pkgver} cd ${srcdir}/${pkgbase}-${pkgver}
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/lib /usr/lib" ./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib32"
make make
} }

View file

@ -0,0 +1,12 @@
diff -urN a/tests/demo.at b/tests/demo.at
--- a/tests/demo.at 2014-11-19 05:28:51.000000000 -0700
+++ b/tests/demo.at 2014-12-14 09:07:59.440233474 -0700
@@ -510,7 +510,7 @@
AT_SETUP([force non-PIC objects])
AT_CHECK([case $host in
-hppa*|x86_64*|s390*)
+hppa*|x86_64*|s390*|armv7*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)