Permalink
Browse files

bumped binutils

  • Loading branch information...
1 parent 2f3162a commit c071ebe72a2b013e09250599709e3faed1f99472 jensp committed Nov 3, 2009
Showing with 17 additions and 22 deletions.
  1. +17 −22 core/binutils/PKGBUILD
View
@@ -1,38 +1,36 @@
+# Maintainer: Jens Pranaitis <jens@chaox.net>
# Contributor: Allan McRae <allan@archlinux.org>
-# toolchain build order: kernel-headers->glibc->binutils->gcc-libs->gcc->binutils->glibc
+# toolchain build order: kernel-headers->glibc->binutils->gcc->binutils->glibc
pkgname=binutils
-pkgver=2.19.1
-pkgrel=5
-_date=20090419
+pkgver=2.20
+pkgrel=1
+_date=20091018
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('i586' 'i686' 'x86_64')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base')
-depends=('glibc>=2.10.1-3' 'zlib')
+depends=('glibc>=2.10.1-5' 'zlib')
options=('!libtool' '!distcc' '!ccache')
install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2
- binutils-2.19-as-needed.patch)
-md5sums=('18db08329c4a1a22ec57ea4c0d7440a6'
- 'f6fd22284040a0b05e74ed2ff504a6d9')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
+md5sums=('5dcd7069793386a91882aeb61ebec788')
build() {
# for cvs checkout
- mkdir ${srcdir}/${pkgname}-${_date}
- cd ${srcdir}/${pkgname}-${_date}
- export _TAG=binutils-2_19-branch
- export 'CVSROOT=:pserver:anoncvs@sourceware.org:/cvs/src'
-# cvs -z9 co -r $_TAG binutils || return 1
-# cd src && tar -cvjf ${startdir}/binutils-${pkgver}_${_date}.tar.bz2 *
-# return 1
+ #mkdir ${srcdir}/${pkgname}-${_date}
+ #cd ${srcdir}/${pkgname}-${_date}
+ #export _TAG=binutils-2_20-branch
+ #export 'CVSROOT=:pserver:anoncvs@sourceware.org:/cvs/src'
+ #cvs -z9 co -r $_TAG binutils || return 1
+ #cd src && tar -cvjf ${startdir}/binutils-${pkgver}_${_date}.tar.bz2 *
+ #return 1
cd ${srcdir}
-
- patch -Np1 -i binutils-2.19-as-needed.patch
-
+ sed -i "s#2.20#2.20.0#" bfd/configure
+
mkdir build
cd build
@@ -72,7 +70,4 @@ build() {
rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-
- rm -f ${pkgdir}/usr/share/info/dir
- gzip -9 ${pkgdir}/usr/share/info/*
}

0 comments on commit c071ebe

Please sign in to comment.