diff --git a/sys-devel/flex/flex-2.5.35.recipe b/sys-devel/flex/flex-2.5.35.recipe deleted file mode 100644 index ae297bf86..000000000 --- a/sys-devel/flex/flex-2.5.35.recipe +++ /dev/null @@ -1,59 +0,0 @@ -SUMMARY="A tool for generating scanners" -DESCRIPTION="Flex is a fast lexical analyser generator. It is a tool for \ -generating programs that perform pattern-matching on text." -HOMEPAGE="http://flex.sourceforge.net/" -COPYRIGHT="2001-2007 The Flex Project - 1990, 1997 The Regents of the University of California" -LICENSE="Flex" -REVISION="6" -SOURCE_URI="http://sourceforge.net/projects/flex/files/flex/flex-2.5.35/flex-2.5.35.tar.bz2/download" -CHECKSUM_SHA256="0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b" -PATCHES="flex-2.5.35.patch" - -ARCHITECTURES="all" - -PROVIDES=" - flex = $portVersion compat >= 2.5 - cmd:flex = $portVersion compat >= 2.5 - devel:libfl = $portVersion compat >= 2.5 - devel:libfl_pic = $portVersion compat >= 2.5 - " -REQUIRES=" - haiku - cmd:m4 - " - -BUILD_REQUIRES=" - haiku_devel - " -BUILD_PREREQUIRES=" - cmd:aclocal - cmd:autoconf - cmd:automake - cmd:gcc - cmd:ld - cmd:libtoolize - cmd:make - cmd:makeinfo - " - -BUILD() -{ - rm aclocal.m4 - libtoolize --force --copy --install - aclocal -I m4 - autoconf - automake --add-missing --force-missing - runConfigure ./configure \ - --disable-rpath --with-gnu-ld - make $jobArgs -} - -INSTALL() -{ - make install - - # prepare develop/lib - prepareInstalledDevelLibs libfl libfl_pic - rmdir $libDir -} diff --git a/sys-devel/flex/flex-2.5.39.recipe b/sys-devel/flex/flex-2.5.39.recipe deleted file mode 100644 index 8def9a074..000000000 --- a/sys-devel/flex/flex-2.5.39.recipe +++ /dev/null @@ -1,61 +0,0 @@ -SUMMARY="A tool for generating scanners" -DESCRIPTION="Flex is a fast lexical analyser generator. It is a tool for \ -generating programs that perform pattern-matching on text." -HOMEPAGE="http://flex.sourceforge.net/" -COPYRIGHT="2001-2007 The Flex Project - 1990, 1997 The Regents of the University of California" -LICENSE="Flex" -REVISION="2" -SOURCE_URI="http://sourceforge.net/projects/flex/files/flex-$portVersion.tar.bz2" -CHECKSUM_SHA256="add2b55f3bc38cb512b48fad7d72f43b11ef244487ff25fc00aabec1e32b617f" -PATCHES="flex-2.5.39.patchset" - -ARCHITECTURES="all" - -PROVIDES=" - flex = $portVersion compat >= 2.5 - cmd:flex = $portVersion compat >= 2.5 - cmd:flex++ = $portVersion compat >= 2.5 - devel:libfl = 2.0.0 compat >= 2 - devel:libfl_pic = 2.0.0 compat >= 2 - lib:libfl = 2.0.0 compat >= 2 - lib:libfl_pic = 2.0.0 compat >= 2 - " -REQUIRES=" - haiku - cmd:m4 - " - -BUILD_REQUIRES=" - haiku_devel - " -BUILD_PREREQUIRES=" - cmd:aclocal - cmd:autoconf - cmd:automake - cmd:find - cmd:gcc - cmd:gettext - cmd:ld - cmd:libtoolize - cmd:make - cmd:makeinfo - " - -BUILD() -{ - rm -f aclocal.m4 - autoreconf -fi - runConfigure ./configure \ - --disable-rpath --with-gnu-ld --disable-shared \ - --disable-dependency-tracking --disable-nls - make # Unreliable parallel builds -} - -INSTALL() -{ - make install - - # prepare develop/lib - prepareInstalledDevelLibs libfl libfl_pic -} diff --git a/sys-devel/flex/patches/flex-2.5.35.patch b/sys-devel/flex/patches/flex-2.5.35.patch deleted file mode 100644 index 2f7258f81..000000000 --- a/sys-devel/flex/patches/flex-2.5.35.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -ruw flex-2.5.35/configure.in flex-2.5.35-haiku/configure.in ---- flex-2.5.35/configure.in 2008-02-09 16:46:28.027525120 +0100 -+++ flex-2.5.35-haiku/configure.in 2011-03-05 18:05:15.222822400 +0100 -@@ -45,12 +45,12 @@ - AC_PROG_AWK - AC_PROG_INSTALL - --AC_PATH_PROG(BISON, bison,bison) -+AC_CHECK_PROG(BISON, bison,bison) - AC_PATH_PROG(HELP2MAN, help2man, help2man) - - # Check for a GNU m4 that supports --prefix-builtins - --AC_PATH_PROGS(M4, gm4 gnum4 m4, m4) -+AC_CHECK_PROGS(M4, gm4 gnum4 m4, m4) - - if test x"$M4" != x; then - AC_MSG_CHECKING([for GNU m4]) -diff -ruw flex-2.5.35/tests/test-pthread/Makefile.am flex-2.5.35-haiku/tests/test-pthread/Makefile.am ---- flex-2.5.35/tests/test-pthread/Makefile.am 2006-11-09 21:14:49.001310720 +0100 -+++ flex-2.5.35-haiku/tests/test-pthread/Makefile.am 2011-03-05 18:04:53.553648128 +0100 -@@ -27,7 +27,8 @@ - OBJS = scanner.o # parser.o - - AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) --LDFLAGS = -lpthread -+ -+#LDFLAGS = -lpthread - #LFLAGS = --header="scanner.h" - #YFLAGS = --defines --output=parser.c - diff --git a/sys-devel/flex/patches/flex-2.5.39.patchset b/sys-devel/flex/patches/flex-2.5.39.patchset deleted file mode 100644 index 12a54933e..000000000 --- a/sys-devel/flex/patches/flex-2.5.39.patchset +++ /dev/null @@ -1,35 +0,0 @@ -From 40175da3a270397dcf9f684c360f9161c637039f Mon Sep 17 00:00:00 2001 -From: Jerome Duval -Date: Mon, 14 Apr 2014 17:00:54 +0000 -Subject: initial haiku patch - - -diff --git a/configure.ac b/configure.ac -index 871082f..a3913b7 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -48,7 +48,7 @@ LT_INIT - AC_PROG_AWK - AC_PROG_INSTALL - --AC_PATH_PROG(BISON, bison,bison) -+AC_CHECK_PROG(BISON, bison,bison) - AC_PATH_PROG(HELP2MAN, help2man, help2man) - - # Check for a m4 that supports -P -diff --git a/tests/test-pthread/Makefile.am b/tests/test-pthread/Makefile.am -index fe5d545..e8023e8 100644 ---- a/tests/test-pthread/Makefile.am -+++ b/tests/test-pthread/Makefile.am -@@ -27,7 +27,7 @@ CLEANFILES = scanner.c scanner.h parser.c parser.h $(testname)$(EXEEXT) OUTPUT $ - OBJS = scanner.o # parser.o - - AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) --LIBS = -lpthread -+#LIBS = -lpthread - #LFLAGS = --header="scanner.h" - #YFLAGS = --defines --output=parser.c - --- -1.8.3.4 -