CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-get: removed port (FS#26)
[crossrootfs.git] / binutils / Pkgfile
index f7ca49ecd0400af5cdbb24e942a2ba410718e488..194da22c3feea1c2714c9468d2b114b466d12b9d 100644 (file)
@@ -5,11 +5,15 @@
 # Depends on:
 
 name=binutils
-version=2.20.1
+version=2.21.1
 release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
+        binutils-$version-gnueabihf.patch)
 
 build() {
+  pushd $name-$version
+  patch -p1 -i $SRC/binutils-$version-gnueabihf.patch
+  popd
   sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in
   sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in
   sed -i 's|really-check: check-cplus-dem check-pexecute check-expandargv|really-check:|g' -i $name-$version/libiberty/testsuite/Makefile.in