From be9ff77bfd8d63ec8c86240c3d3fea8c848b086c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 22 Nov 2011 10:59:32 +0100 Subject: [PATCH] binutils: update to 2.22. --- srcpkgs/binutils/template | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index 2fa9ca6fb16..5039b79a102 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -1,13 +1,12 @@ # Template file for 'binutils' pkgname=binutils -version=2.21.1 +version=2.22 distfiles="${GNU_SITE}/binutils/$pkgname-$version.tar.bz2" -revision=1 short_desc="GNU binary utilities" maintainer="Juan RP " homepage="http://www.gnu.org/software/binutils/" license="GPL-3" -checksum=cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654 +checksum=6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9 long_desc=" The GNU binutils package contains essential tools to assemble, link and manipulate binary and object files. They are often used with a compiler @@ -28,17 +27,17 @@ if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then Add_dependency build gettext fi -do_build() -{ +do_configure() { ./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \ --enable-64-bit-bfd --enable-multilib --enable-plugins \ --enable-secureplt --with-mmap +} +do_build() { make ${makejobs} } -do_install() -{ +do_install() { if [ "$XBPS_MACHINE" = "x86_64" ]; then mkdir -p ${SRCPKGDESTDIR}/usr/lib cd ${SRCPKGDESTDIR}/usr && ln -s lib lib64 && cd ${wrksrc}