diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/Pkgfile | 10 |
1 files changed, 5 insertions, 5 deletions
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 |