From c8b86429edf0ce4606fbf74344375a5a11ab6bee Mon Sep 17 00:00:00 2001 From: beefcurtains Date: Wed, 20 May 2015 07:03:30 +0000 Subject: [PATCH 1/2] binutils: thank you Juan, but our bashism is in another file! --- srcpkgs/binutils/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index 91d45d33d4c..ba4a398600f 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -1,7 +1,7 @@ # Template file for 'binutils' pkgname=binutils version=2.25 -revision=2 +revision=3 bootstrap=yes short_desc="GNU binary utilities" maintainer="Juan RP " @@ -18,7 +18,7 @@ makedepends+=" zlib-devel" pre_configure() { sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure # Drop bashism! - sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc + sed -e 's,source,\.,g' -i ld/scripttempl/elf32msp430.sc } do_configure() { if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then From fdd9f000a2a3461b38018ea45d039ce6cdbd6658 Mon Sep 17 00:00:00 2001 From: beefcurtains Date: Wed, 20 May 2015 07:18:25 +0000 Subject: [PATCH 2/2] binutils: use $GNU_SITE --- srcpkgs/binutils/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index ba4a398600f..c3243dcfb5a 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -7,7 +7,7 @@ short_desc="GNU binary utilities" maintainer="Juan RP " homepage="http://www.gnu.org/software/binutils/" license="GPL-3" -distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz" +distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=cccf377168b41a52a76f46df18feb8f7285654b3c1bd69fc8265cb0fc6902f2d if [ "$CHROOT_READY" ]; then