summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-23 12:31:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-23 12:31:16 +0000
commit2b3c08c89ef55677eeb6052557dd8a5dffde3872 (patch)
tree3250038e2039b4de00aa39db6dc266935a414fbe /main
parentf244c47a24ea6483a6bca63f9c8c330703d78aef (diff)
downloadaports-2b3c08c89ef55677eeb6052557dd8a5dffde3872.tar.bz2
aports-2b3c08c89ef55677eeb6052557dd8a5dffde3872.tar.xz
main/binutils: upgrade to 2.20.51.0.12
Diffstat (limited to 'main')
-rw-r--r--main/binutils/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index a2c952630..a6d58bd16 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=binutils
-pkgver=2.20.51.0.4
-pkgrel=1
+pkgver=2.20.51.0.12
+pkgrel=0
pkgdesc="Tools necessary to build programs"
url=http://sources.redhat.com/binutils
source="http://ftp.kernel.org/pub/linux/devel/binutils/$pkgname-$pkgver.tar.bz2"
@@ -16,6 +16,7 @@ build() {
--mandir /usr/share/man \
--build ${CHOST:-i486-alpine-linux-uclibc} \
--infodir /usr/share/info \
+ --disable-multilib \
--enable-shared \
--enable-64-bit-bfd \
--disable-werror \
@@ -27,5 +28,9 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
+ if [ -d "$pkgdir"/usr/lib64 ]; then
+ mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib/
+ rmdir "$pkgdir"/usr/lib64
+ fi
}
-md5sums="efcc89be7573fd3d8ec55236eebdf528 binutils-2.20.51.0.4.tar.bz2"
+md5sums="f3a1f0535935ddae61ded2bcd3c7ce09 binutils-2.20.51.0.12.tar.bz2"