summaryrefslogtreecommitdiffstats
path: root/base/binutils/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-15 17:08:23 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-15 17:08:23 +0100
commitcb17cabedeaffb3cf59ef723927727ce74600d0f (patch)
treedda592fb637ec421e07fde4af951708527e39288 /base/binutils/Pkgfile
parentb8cfa986833944a631e8ab572c6ea9cb0ec2c007 (diff)
downloadnutyx-extra-cb17cabedeaffb3cf59ef723927727ce74600d0f.tar.gz
nutyx-extra-cb17cabedeaffb3cf59ef723927727ce74600d0f.tar.bz2
nutyx-extra-cb17cabedeaffb3cf59ef723927727ce74600d0f.tar.xz
nutyx-extra-cb17cabedeaffb3cf59ef723927727ce74600d0f.zip
maj binutils-2.21-1
Diffstat (limited to 'base/binutils/Pkgfile')
-rwxr-xr-xbase/binutils/Pkgfile8
1 files changed, 2 insertions, 6 deletions
diff --git a/base/binutils/Pkgfile b/base/binutils/Pkgfile
index 4b2e56ab0..ecdcdabff 100755
--- a/base/binutils/Pkgfile
+++ b/base/binutils/Pkgfile
@@ -4,7 +4,7 @@
# Packager: thierryn1 at hispeed dot ch
name=binutils
-version=2.20.1
+version=2.21
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
@@ -14,9 +14,6 @@ cd $name-$version
rm -fv etc/standards.info
sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in
-sed -i -e 's/getline/get_line/' libiberty/testsuite/test-demangle.c
-
-
mkdir ../binutils-build
cd ../binutils-build
../$name-$version/configure --prefix=/usr \
@@ -24,10 +21,9 @@ cd ../binutils-build
--infodir=/usr/share/info \
--enable-shared
make tooldir=/usr
-make check
+make -k check||true
make tooldir=/usr DESTDIR=$PKG install
cp ../$name-$version/include/libiberty.h $PKG/usr/include
rm $PKG/usr/share/info/dir
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
-
}