summaryrefslogtreecommitdiffstats
path: root/binutils/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-08 19:32:41 +0100
committerLukc <lukc@upyum.com>2011-01-08 19:32:41 +0100
commit28f1d36c5e9dc07d80d6e2d0bb98c15e45a6aaa7 (patch)
tree4f5be39d50fa4fe5f6eed43a5f66a09240269240 /binutils/Pkgfile
parentddbda97f30bcefa6d982ebd8ab7ab7878c2d23d6 (diff)
downloaddevel-28f1d36c5e9dc07d80d6e2d0bb98c15e45a6aaa7.tar.gz
devel-28f1d36c5e9dc07d80d6e2d0bb98c15e45a6aaa7.tar.bz2
devel-28f1d36c5e9dc07d80d6e2d0bb98c15e45a6aaa7.tar.xz
devel-28f1d36c5e9dc07d80d6e2d0bb98c15e45a6aaa7.zip
Recette des binutils mise à jour.
Diffstat (limited to 'binutils/Pkgfile')
-rw-r--r--binutils/Pkgfile10
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