[Lunar-commits] r22031 - moonbase/trunk/devel/flex

Dennis Veatch stumbles at lunar-linux.org
Thu Nov 2 18:53:39 CET 2006


Author: stumbles
Date: 2006-11-02 18:53:39 +0100 (Thu, 02 Nov 2006)
New Revision: 22031

Modified:
   moonbase/trunk/devel/flex/BUILD
   moonbase/trunk/devel/flex/DEPENDS
   moonbase/trunk/devel/flex/DETAILS
Log:

A version bump. Changes per the NEWS file of note are, some unamed
security fixes, flex now uses m4 to generate scanners, flex is now hosted 
at sourceforge, bison is no longer needed to build flex and many other
changes.

Since I already had bison and m4 installed I did not verify the accuracy of
their statements and changed them to optional depends.

Using "lvu depends flex" I have relined glibc, binutils, gettext, kdevelop, 
qt3, gob2 and others with no issues found.

The prompt for this update was a response to xxdiff bugreport 1564277 which
they suggest a flex update and that did fix that install.



Modified: moonbase/trunk/devel/flex/BUILD
===================================================================
--- moonbase/trunk/devel/flex/BUILD	2006-11-02 14:06:46 UTC (rev 22030)
+++ moonbase/trunk/devel/flex/BUILD	2006-11-02 17:53:39 UTC (rev 22031)
@@ -1,12 +1,11 @@
 (
-  patch_it $SOURCE_CACHE/$SOURCE2 1 &&
-  sedit "s/mandir = \$(prefix)\/man/mandir = \$(prefix)\/share\/man/" Makefile.in &&
+
   ./configure  --build=$BUILD  \
                --prefix=/usr   \
                $OPTS           &&
-  make                         &&
-  prepare_install              &&
-  make    install              &&
+
+  default_make  &&
+
   ln  -sf  flex  /usr/bin/lex
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/devel/flex/DEPENDS
===================================================================
--- moonbase/trunk/devel/flex/DEPENDS	2006-11-02 14:06:46 UTC (rev 22030)
+++ moonbase/trunk/devel/flex/DEPENDS	2006-11-02 17:53:39 UTC (rev 22031)
@@ -1 +1,4 @@
-depends bison
+depends  m4  &&
+
+optional_depends "bison"  ""  ""  "parser generator"  &&
+optional_depends "indent" ""  ""  "control of whitespace"

Modified: moonbase/trunk/devel/flex/DETAILS
===================================================================
--- moonbase/trunk/devel/flex/DETAILS	2006-11-02 14:06:46 UTC (rev 22030)
+++ moonbase/trunk/devel/flex/DETAILS	2006-11-02 17:53:39 UTC (rev 22031)
@@ -1,20 +1,17 @@
-           MODULE=flex
-         VERSION=2.5.4a
-          SOURCE=$MODULE-$VERSION.tar.gz
-	SOURCE2=$MODULE-$VERSION-redhat-fixes.patch.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-2.5.4
-   SOURCE_URL[0]=$GNU_URL/non-gnu/$MODULE/
-   SOURCE_URL[1]=ftp://ftp.gnu.org/pub/non-gnu/$MODULE/
-  SOURCE2_URL[0]=$PATCH_URL/
+          MODULE=flex
+         VERSION=2.5.33
+          SOURCE=$MODULE-$VERSION.tar.bz2
+   SOURCE_URL[0]=$SFORGE_URL/$MODULE/
         WEB_SITE=http://www.gnu.org/software/flex/flex.html
          ENTERED=20010922
-         UPDATED=20040121
-           SHORT="Flex is a fast lexical analyser generator."
+         UPDATED=20061102
+           SHORT="a fast lexical analyser generator."
+
 cat << EOF
 Flex is a fast lexical analyser generator. It is a tool for
 generating programs that perform pattern-matching on text. There are
 many applications for Flex, including writing compilers in
-conjunction with GNU Bison. Flex is a free implementation of the well 
+conjunction with GNU Bison. Flex is a free implementation of the well
 known Lex program. It features a Lex compatibility mode, and also
 provides several new features such as exclusive start conditions.
 EOF



More information about the Lunar-commits mailing list