CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / diffutils / Pkgfile
index 5a82310cd725624b3169aaa7c6a8de15b1f0c1f4..2be3f43b9963d5903de9c652951c017330361a9c 100644 (file)
@@ -5,20 +5,17 @@
 # Depends on:
 
 name=diffutils
-version=3.3
-release=2
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
+version=3.6
+release=1
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
 
 build() {
   cd $name-$version
-
-  # fix for glibc 'gets' removal
-  sed -i -e '/gets is a/d' lib/stdio.in.h
-
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --disable-nls
+              --disable-nls \
+              gl_cv_func_getopt_gnu=yes
 
   make
   make prefix=$PKG/usr install