From 28f1d36c5e9dc07d80d6e2d0bb98c15e45a6aaa7 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 8 Jan 2011 19:32:41 +0100 Subject: Recette des binutils mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- binutils/Pkgfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'binutils/Pkgfile') diff --git a/binutils/Pkgfile b/binutils/Pkgfile index 6c6fd0a..fbc881c 100644 --- a/binutils/Pkgfile +++ b/binutils/Pkgfile @@ -14,14 +14,14 @@ release=1 source=(ftp://ftp.gnu.org/gnu/binutils/binutils-$version.tar.bz2) build () { - sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in; - sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in; + sed -i '/^SUBDIRS/s/doc//' binutils-$version/bfd/Makefile.in; + sed -i '/^# RELEASE=y/s/#//' binutils-$version/bfd/Makefile.in; mkdir build; cd build; if [[ -n $CTARGET ]]; then - info "Building $name for $CTARGET." + info "Building binutils for $CTARGET." fi - ../$name-$version/configure \ + ../binutils-$version/configure \ ${CBUILD:+--build=${CBUILD}} \ ${CHOST:+--host=${CHOST}} \ ${CTARGET:+--target=${CTARGET}} \ @@ -34,7 +34,7 @@ build () make check; make tooldir=$prefix DESTDIR=$PKG install; mkdir -p $PKG$prefix/include; # Pour éviter des problèmes… - cp ../$name-$version/include/libiberty.h $PKG$prefix/include; + cp ../binutils-$version/include/libiberty.h $PKG$prefix/include; # FIXME if [[ -e $PKG$prefix/lib/libfd.la ]]; then sed -i "s|-L$SRC[^ ]* ||g" $PKG$prefix/lib/libbfd.la -- cgit v1.2.3-70-g09d2