From: Jose V Beneyto Date: Thu, 18 Oct 2012 21:01:32 +0000 (+0000) Subject: flex: updated to 2.5.37 and aligned with upstream X-Git-Url: http://gitweb/?a=commitdiff_plain;h=faaacd66cb1d713debb1a1108fedfba2a9a2b5b8;p=attic%2Fports%2Fcore-cross.git flex: updated to 2.5.37 and aligned with upstream --- diff --git a/flex/.footprint b/flex/.footprint index 40c5fb6..98702d0 100644 --- a/flex/.footprint +++ b/flex/.footprint @@ -1,6 +1,7 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/flex +lrwxrwxrwx root/root usr/bin/flex++ -> flex lrwxrwxrwx root/root usr/bin/lex -> flex drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/FlexLexer.h diff --git a/flex/.md5sum b/flex/.md5sum index c7265cd..fd70a98 100644 --- a/flex/.md5sum +++ b/flex/.md5sum @@ -1 +1 @@ -10714e50cea54dc7a227e3eddcd44d57 flex-2.5.35.tar.bz2 +c75940e1fc25108f2a7b3ef42abdae06 flex-2.5.37.tar.bz2 diff --git a/flex/Pkgfile b/flex/Pkgfile index f35912f..9667225 100644 --- a/flex/Pkgfile +++ b/flex/Pkgfile @@ -5,22 +5,28 @@ # Depends on: name=flex -version=2.5.35 -release=2 -source=(http://dl.sourceforge.net/sourceforge/flex/$name-$version.tar.bz2) +version=2.5.37 +release=1 +source=(http://downloads.sourceforge.net/project/$name/$name-$version.tar.bz2) build() { cd $name-$version + echo "ac_cv_func_malloc_0_nonnull=yes" > config.cache echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ + --mandir=/usr/man \ --disable-nls \ --cache-file=config.cache + make make DESTDIR=$PKG install + ln -sf flex $PKG/usr/bin/lex ln -sf flex.1.gz $PKG/usr/man/man1/lex.1.gz - rm -rf $PKG/usr/info + + rm -rf $PKG/usr/share }