CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
flex: fixed build to don't force user of automake-1.15
[crossrootfs.git] / coreutils / Pkgfile
index a673cea1874567d317befa78dc74a2d24f2821cc..0a4c4f73e94c12b512242a9af26d5f4a37c61eaf 100644 (file)
@@ -5,9 +5,9 @@
 # Depends on: libgmp acl libcap
 
 name=coreutils
-version=8.24
-release=2
-source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz \
+version=8.29
+release=1
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz
         $name-uname.patch)
 
 build() {
@@ -39,21 +39,6 @@ EOF
               --enable-no-install-program=uptime,kill,chcon,runcon,groups \
               --cache-file=config.cache
 
-  # fix to avoid crosscompile make-prime-list
-  sed '/src_make_prime_list/d' -i Makefile
-  depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`
-  gcc -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src \
-      -fdiagnostics-show-option -funit-at-a-time \
-      -g -O2 -MT src/make-prime-list.o -MD -MP -MF $depbase.Tpo \
-      -c -o src/make-prime-list.o src/make-prime-list.c
-  mv -f $depbase.Tpo $depbase.Po
-  gcc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time \
-      -g -O2 -Wl,--as-needed  -o src/make-prime-list src/make-prime-list.o
-
-  # fix to avoid rebuild manpages
-  sed 's|SUFFIXES: .1|SUFFIXES: |' -i Makefile
-  sed 's|man1_MANS =.*|man1_MANS =|g' -i Makefile
-
   make
   make DESTDIR=$PKG install