CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gettext: locked version and updated mandir
[crossrootfs.git] / gettext / Pkgfile
index b7947a365431eb0174a197c92fb1c6c5699a3d31..39d8569023a7c5cc56f537b8a7e33ebaf8113ad1 100644 (file)
@@ -5,14 +5,12 @@
 # Depends on: ncurses
 
 name=gettext
-version=0.18.1.1
+version=0.18.2
 release=1
 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
-  # fix for glibc 'gets' removal
-  sed -i -e '/gets is a/d' $name-*/*/stdio.in.h
 
   cat > config.cache << EOF
 am_cv_func_iconv_works=yes
@@ -20,18 +18,18 @@ gl_cv_func_wcwidth_works=yes
 gt_cv_func_printf_posix=yes
 gt_cv_int_divbyzero_sigfpe=yes
 EOF
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
               --disable-csharp \
               --disable-{,native-}java \
               --disable-nls \
-              --without-emacs \
+              --without-{emacs,git} \
               --with-included-{glib,libcroco,libxml} \
               --cache-file=config.cache
   make
   make -j1 DESTDIR=$PKG install
   rm -r $PKG/usr/share/{info,doc}
-  rm $PKG/usr/share/gettext/intl/{COPYING*,ChangeLog}
+  rm $PKG/usr/share/gettext/intl/ChangeLog
 }