summaryrefslogtreecommitdiff
path: root/core/libtool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/libtool/PKGBUILD')
-rw-r--r--core/libtool/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/libtool/PKGBUILD b/core/libtool/PKGBUILD
index ce5c2727f..563773979 100644
--- a/core/libtool/PKGBUILD
+++ b/core/libtool/PKGBUILD
@@ -8,16 +8,22 @@ pkgname=('libtool' 'libltdl')
pkgver=2.4.2
pkgrel=7
pkgdesc="A generic library support script"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libtool"
license=('GPL')
options=('!libtool')
-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}
+ nopic.patch)
md5sums=('2ec8997e0c07249eb4cbd072417d70fe'
- '1e6ba57420c82c663c85e745d11c7eed')
+ '1e6ba57420c82c663c85e745d11c7eed'
+ '46443cf0e3e1b4e4891812af73385615')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
+
+ # fix test failure on mips64el (from Debian)
+ patch -Np1 -i "${srcdir}/nopic.patch"
+
./configure --prefix=/usr
make
}