CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
coreutils: updated to 8.26
[crossrootfs.git] / coreutils / Pkgfile
index a673cea1874567d317befa78dc74a2d24f2821cc..48f583b0fe805e367297006d8be56240af9e2c8b 100644 (file)
@@ -5,15 +5,16 @@
 # Depends on: libgmp acl libcap
 
 name=coreutils
-version=8.24
-release=2
+version=8.26
+release=1
 source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz \
-        $name-uname.patch)
+        $name-uname.patch $name-$version-Fix-cross.patch)
 
 build() {
   cd $name-$version
 
   patch -p1 -i $SRC/$name-uname.patch
+  patch -p1 -i $SRC/$name-$version-Fix-cross.patch
 
   cat > config.cache <<EOF
 ac_cv_search_clock_gettime=no
@@ -30,6 +31,10 @@ EOF
 
   export FORCE_UNSAFE_CONFIGURE=1
 
+  # fix to avoid build manpages
+  sed "s|UBDIRS = po . gnulib-tests|UBDIRS = . gnulib-tests|g" -i Makefile.am
+  sed 's|include $(top_srcdir)/man/local.mk||g' -i Makefile.am
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \