Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/flex/files/, sys-devel/flex/
Date: Mon, 23 Nov 2015 11:03:06
Message-Id: 1448276568.2950652b36f17fcd573888d2a5cfe999afd4023d.polynomial-c@gentoo
1 commit: 2950652b36f17fcd573888d2a5cfe999afd4023d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 23 11:01:27 2015 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 23 11:02:48 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2950652b
7
8 sys-devel/flex: Removed old.
9
10 Package-Manager: portage-2.2.25
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-devel/flex/Manifest | 4 -
14 sys-devel/flex/files/flex-2.5.33-pic.patch | 12 ---
15 sys-devel/flex/files/flex-2.5.34-isatty.patch | 53 ----------
16 sys-devel/flex/files/flex-2.5.35-gcc44.patch | 13 ---
17 .../flex/files/flex-2.5.35-saneautotools.patch | 77 --------------
18 sys-devel/flex/files/flex-2.5.37-proto.patch | 27 -----
19 sys-devel/flex/files/flex-2.5.37-tests.patch | 113 ---------------------
20 sys-devel/flex/flex-2.5.35.ebuild | 43 --------
21 sys-devel/flex/flex-2.5.35_p10.ebuild | 50 ---------
22 sys-devel/flex/flex-2.5.37.ebuild | 51 ----------
23 sys-devel/flex/flex-2.5.38-r1.ebuild | 40 --------
24 sys-devel/flex/flex-2.5.39.ebuild | 40 --------
25 12 files changed, 523 deletions(-)
26
27 diff --git a/sys-devel/flex/Manifest b/sys-devel/flex/Manifest
28 index 1c92cb9..c9d385a 100644
29 --- a/sys-devel/flex/Manifest
30 +++ b/sys-devel/flex/Manifest
31 @@ -1,6 +1,2 @@
32 -DIST flex-2.5.35.tar.bz2 1256501 SHA256 0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b SHA512 aa5aebbc7ccaa4697d7f0cfa3ba899dd3b327bc8551ba341c26bece7f9044951d0532e3ebf6ec63760204b4ff805f9f957d064e9a213ef8aac428e565de31343 WHIRLPOOL 5cb46a2cec84b1c6d25e22a1e4a6ac1a5100fcf32a488918f8bfe9236339ff2aac7f2dc35a590417fe1609d89511ab47de4ba4f7db17251b7408ea0f18e6894d
33 -DIST flex-2.5.37.tar.bz2 1303313 SHA256 17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a SHA512 1f34285953a7f058e6a2dddc305fc82cfcaaa451d6d7777da17bf9cccbe4a08e480c8c28951fa5d2920e7c7adc40ccd0e51191b363c9a3c4137db5ded1cbbc2a WHIRLPOOL ee5a4dde9b373c57248df261a53ea951e12ccb3e6f2e6344c56c2d8393511389560b4843660edf2a0929e2ed6fc46ab8d832e36a8ee5fe4317ce85ccea14d6ca
34 -DIST flex-2.5.38.tar.xz 1349536 SHA256 3621e0217f6c2088411e5b6fd9f2d83f2fbf014dcdf24e80680f66e6dd93729c SHA512 98d4a722dcb23c0ebca997ef28ae40cebbe65e24adf8700ac9127404d1bcd0e30638d296d639afb092b65b4767f35f5ee0b0bf229ac040ef8029a04694d6d4c2 WHIRLPOOL 56e282bc56ef825a953d1211602de1a243164d09b9b794debffbd7c56830572d24910b20b44b8749173c9bc008bae99406320a5042a4054290b69320a1df3aed
35 DIST flex-2.5.39.tar.xz 1347436 SHA256 c988bb3ab340aaba16df5a54ab98bb4760599975375c8ac9388a078b7f27e9e8 SHA512 488bfd40043851d6f069333090081cc09c8754cd098dd24655ea705dd381efc4e88080fe8060fe6c790f450695f1b209f7115b154723c203f43b00f4ccfa5bec WHIRLPOOL 6f46ed30ca3a3ac6449170171205031ab821a0d78aaed36c7faf59c12724f8787092ba1a3ea846e359791476da7f9bb007155caac60e696326445c75c5d70dd5
36 DIST flex-2.6.0.tar.xz 1369552 SHA256 d39b15a856906997ced252d76e9bfe2425d7503c6ed811669665627b248e4c73 SHA512 9cd48aa79ce70814902745d6e67f677bcc67f23dcc46ebb5f2963efac0d8f6f6c10ee87369d2d7557d29e390a3502dd99246db0fd2e096b9e7bb6e16d51d3abe WHIRLPOOL e44cab6763699a9d4d8af29b8c45c2e5b203a643834730f35e5745d145e5b3a4605506da209aa8e4e087e2e8872926261d0d2f29751d616cc77df36021d753b2
37 -DIST flex_2.5.35-10.diff.gz 41011 SHA256 1d57a2a73ae7b7d4bd95a7c3f5801ab39c0b2b55b5d838782da8d3801cc1a3b9 SHA512 ecb64cb5d27da0c82c99958640ee5f09afff4096a93817f68f3333f86a838ab4f21daf959bfc650b89e0d52a827c55265cb4c4a4f9efab050a8f91dd82258820 WHIRLPOOL 4fa27c32d81c766e657645816e4a24e46b126e5eb38ad38fc66a7d3d3e3100b76ec694898dcbcc486687f4ec9d89d517a670f7ca20de22586d2f0b56a7fe50cd
38
39 diff --git a/sys-devel/flex/files/flex-2.5.33-pic.patch b/sys-devel/flex/files/flex-2.5.33-pic.patch
40 deleted file mode 100644
41 index 88ac8b3..0000000
42 --- a/sys-devel/flex/files/flex-2.5.33-pic.patch
43 +++ /dev/null
44 @@ -1,12 +0,0 @@
45 ---- Makefile.in 2007-02-06 12:27:32.000000000 +0100
46 -+++ Makefile.in.new 2007-02-06 12:29:50.000000000 +0100
47 -@@ -993,7 +993,9 @@
48 - ecs.o: ecs.c flexdef.h flexint.h
49 - gen.o: gen.c flexdef.h flexint.h tables.h tables_shared.h
50 - libmain.o: libmain.c
51 -+ $(COMPILE) -fPIC -DPIC -o libmain.o -c libmain.c
52 - libyywrap.o: libyywrap.c
53 -+ $(COMPILE) -fPIC -DPIC -o libyywrap.o -c libyywrap.c
54 - main.o: main.c flexdef.h flexint.h version.h options.h scanopt.h \
55 - tables.h tables_shared.h
56 - misc.o: misc.c flexdef.h flexint.h tables.h tables_shared.h
57
58 diff --git a/sys-devel/flex/files/flex-2.5.34-isatty.patch b/sys-devel/flex/files/flex-2.5.34-isatty.patch
59 deleted file mode 100644
60 index b397433..0000000
61 --- a/sys-devel/flex/files/flex-2.5.34-isatty.patch
62 +++ /dev/null
63 @@ -1,53 +0,0 @@
64 -Declare the isatty prototype all the time ... otherwise packages like
65 -doxygen and ttmkfdir fail to build.
66 -
67 -http://bugs.gentoo.org/119598
68 -
69 ---- flex/scan.c
70 -+++ flex/scan.c
71 -@@ -4179,9 +4179,19 @@
72 - yyfree((void *) b );
73 - }
74 -
75 -+#ifndef _UNISTD_H /* assume unistd.h has isatty() for us */
76 --#ifndef __cplusplus
77 -+#ifdef __cplusplus
78 -+extern "C" {
79 -+#endif
80 -+#ifdef __THROW /* this is a gnuism */
81 -+extern int isatty (int ) __THROW;
82 -+#else
83 - extern int isatty (int );
84 -+#endif
85 --#endif /* __cplusplus */
86 -+#ifdef __cplusplus
87 -+}
88 -+#endif
89 -+#endif
90 -
91 - /* Initializes or reinitializes a buffer.
92 - * This function is sometimes called more than once on the same buffer,
93 ---- flex/skel.c
94 -+++ flex/skel.c
95 -@@ -2183,9 +2183,19 @@
96 - "[[",
97 - " m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],,",
98 - " [[",
99 -+ "#ifndef _UNISTD_H /* assume unistd.h has isatty() for us */",
100 -- "#ifndef __cplusplus",
101 -+ "#ifdef __cplusplus",
102 -+ "extern \"C\" {",
103 -+ "#endif",
104 -+ "#ifdef __THROW /* this is a gnuism */",
105 -+ "extern int isatty M4_YY_PARAMS( int ) __THROW;",
106 -+ "#else",
107 - "extern int isatty M4_YY_PARAMS( int );",
108 -+ "#endif",
109 -- "#endif /* __cplusplus */",
110 -+ "#ifdef __cplusplus",
111 -+ "}",
112 -+ "#endif",
113 -+ "#endif",
114 - " ]])",
115 - "]])",
116 - "%endif",
117
118 diff --git a/sys-devel/flex/files/flex-2.5.35-gcc44.patch b/sys-devel/flex/files/flex-2.5.35-gcc44.patch
119 deleted file mode 100644
120 index 69045be..0000000
121 --- a/sys-devel/flex/files/flex-2.5.35-gcc44.patch
122 +++ /dev/null
123 @@ -1,13 +0,0 @@
124 -https://sourceforge.net/tracker/?func=detail&aid=2178663&group_id=97492&atid=618177
125 -
126 -diff -Naurp flex-2.5.35-orig/skel.c flex-2.5.35/skel.c
127 ---- flex-2.5.35-orig/skel.c 2009-03-25 22:21:16.000000000 -0600
128 -+++ flex-2.5.35/skel.c 2009-03-25 22:22:22.000000000 -0600
129 -@@ -286,6 +286,7 @@ const char *skel[] = {
130 - "#include <errno.h>",
131 - "#include <cstdlib>",
132 - "#include <cstring>",
133 -+ "#include <cstdio>",
134 - "/* end standard C++ headers. */",
135 - "%endif",
136 - "",
137
138 diff --git a/sys-devel/flex/files/flex-2.5.35-saneautotools.patch b/sys-devel/flex/files/flex-2.5.35-saneautotools.patch
139 deleted file mode 100644
140 index fd8487a..0000000
141 --- a/sys-devel/flex/files/flex-2.5.35-saneautotools.patch
142 +++ /dev/null
143 @@ -1,77 +0,0 @@
144 -Index: flex-2.5.35/configure.in
145 -===================================================================
146 ---- flex-2.5.35.orig/configure.in
147 -+++ flex-2.5.35/configure.in
148 -@@ -39,6 +39,7 @@ AM_GNU_GETTEXT_VERSION(0.12)
149 - AC_PROG_YACC
150 - AM_PROG_LEX
151 - AC_PROG_CC
152 -+AM_PROG_CC_C_O
153 - AC_PROG_CXX
154 - AC_PROG_LN_S
155 - AC_PROG_RANLIB
156 -@@ -103,13 +104,6 @@ AC_HEADER_STDBOOL
157 - AC_C_CONST
158 - AC_TYPE_SIZE_T
159 -
160 --# Checks for library functions.
161 --
162 --AC_FUNC_FORK
163 --AC_FUNC_MALLOC
164 --AC_FUNC_REALLOC
165 --AC_CHECK_FUNCS([dup2 isascii memset pow regcomp setlocale strchr strtol])
166 --
167 - AC_CONFIG_FILES(
168 - Makefile
169 - doc/Makefile
170 -Index: flex-2.5.35/Makefile.am
171 -===================================================================
172 ---- flex-2.5.35.orig/Makefile.am
173 -+++ flex-2.5.35/Makefile.am
174 -@@ -127,33 +127,6 @@ LIBS = @LIBINTL@ @LIBS@
175 - skel.c: flex.skl mkskel.sh flexint.h tables_shared.h
176 - sed 's/m4_/m4postproc_/g; s/m4preproc_/m4_/g' $(srcdir)/flex.skl | $(m4) -P -DFLEX_MAJOR_VERSION=`echo $(VERSION)|cut -f 1 -d .` -DFLEX_MINOR_VERSION=`echo $(VERSION)|cut -f 2 -d .` -DFLEX_SUBMINOR_VERSION=`echo $(VERSION)|cut -f 3 -d .` | sed 's/m4postproc_/m4_/g' | $(SHELL) $(srcdir)/mkskel.sh >skel.c
177 -
178 --# Explicitly describe dependencies.
179 --# You can recreate this with `gcc -I. -MM *.c'
180 --buf.o: buf.c flexdef.h flexint.h
181 --ccl.o: ccl.c flexdef.h flexint.h
182 --dfa.o: dfa.c flexdef.h flexint.h tables.h tables_shared.h
183 --ecs.o: ecs.c flexdef.h flexint.h
184 --scanflags.o: scanflags.c flexdef.h flexint.h
185 --gen.o: gen.c flexdef.h flexint.h tables.h tables_shared.h
186 --libmain.o: libmain.c
187 --libyywrap.o: libyywrap.c
188 --main.o: main.c flexdef.h flexint.h version.h options.h scanopt.h \
189 -- tables.h tables_shared.h
190 --misc.o: misc.c flexdef.h flexint.h tables.h tables_shared.h
191 --nfa.o: nfa.c flexdef.h flexint.h
192 --options.o: options.c options.h scanopt.h flexdef.h flexint.h
193 --parse.o: parse.c flexdef.h flexint.h tables.h tables_shared.h
194 --scan.o: scan.c flexdef.h flexint.h parse.h
195 --scanopt.o: scanopt.c flexdef.h flexint.h scanopt.h
196 --skel.o: skel.c flexdef.h flexint.h
197 --sym.o: sym.c flexdef.h flexint.h
198 --tables.o: tables.c flexdef.h flexint.h tables.h tables_shared.h
199 --tables_shared.o: tables_shared.c flexdef.h flexint.h tables.h \
200 -- tables_shared.h
201 --tblcmp.o: tblcmp.c flexdef.h flexint.h
202 --yylex.o: yylex.c flexdef.h flexint.h parse.h
203 --filter.o: filter.c flexdef.h flexint.h
204 --
205 - # Create the ChangeLog, but only if we're inside a cvs working directory
206 -
207 - ChangeLog: $(srcdir)/tools/cvsauthors $(srcdir)/tools/cvs2cl.pl
208 -Index: flex-2.5.35/tests/test-pthread/Makefile.am
209 -===================================================================
210 ---- flex-2.5.35.orig/tests/test-pthread/Makefile.am
211 -+++ flex-2.5.35/tests/test-pthread/Makefile.am
212 -@@ -27,7 +27,7 @@ CLEANFILES = scanner.c scanner.h parser.
213 - OBJS = scanner.o # parser.o
214 -
215 - AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)
216 --LDFLAGS = -lpthread
217 -+LOADLIBES = -lpthread
218 - #LFLAGS = --header="scanner.h"
219 - #YFLAGS = --defines --output=parser.c
220 -
221
222 diff --git a/sys-devel/flex/files/flex-2.5.37-proto.patch b/sys-devel/flex/files/flex-2.5.37-proto.patch
223 deleted file mode 100644
224 index 5d3c30f..0000000
225 --- a/sys-devel/flex/files/flex-2.5.37-proto.patch
226 +++ /dev/null
227 @@ -1,27 +0,0 @@
228 -From 0f9eb0b8455f843daebf0f3dababeee7f3cde48b Mon Sep 17 00:00:00 2001
229 -From: Mike Frysinger <vapier@g.o>
230 -Date: Sat, 4 Aug 2012 15:46:38 -0400
231 -Subject: [PATCH] add prototype for lerrsf_fatal
232 -
233 -Signed-off-by: Mike Frysinger <vapier@g.o>
234 ----
235 - flexdef.h | 3 +++
236 - 1 file changed, 3 insertions(+)
237 -
238 -diff --git a/flexdef.h b/flexdef.h
239 -index 0e81410..046dd9a 100644
240 ---- a/flexdef.h
241 -+++ b/flexdef.h
242 -@@ -908,6 +908,9 @@ extern void lerrif PROTO ((const char *, int));
243 - /* Report an error message formatted with one string argument. */
244 - extern void lerrsf PROTO ((const char *, const char *));
245 -
246 -+/* Like lerrsf, but also exit after displaying message. */
247 -+extern void lerrsf_fatal PROTO ((const char *, const char *));
248 -+
249 - /* Spit out a "#line" statement. */
250 - extern void line_directive_out PROTO ((FILE *, int));
251 -
252 ---
253 -1.7.9.7
254 -
255
256 diff --git a/sys-devel/flex/files/flex-2.5.37-tests.patch b/sys-devel/flex/files/flex-2.5.37-tests.patch
257 deleted file mode 100644
258 index 56d441a..0000000
259 --- a/sys-devel/flex/files/flex-2.5.37-tests.patch
260 +++ /dev/null
261 @@ -1,113 +0,0 @@
262 -From 095b0bf0a730d46d301c0e2fb2e7af40caeb2c9b Mon Sep 17 00:00:00 2001
263 -From: Elias Pipping <pipping@×××××××××××××××××.net>
264 -Date: Mon, 6 Aug 2012 15:13:23 -0400
265 -Subject: [PATCH] Fix two tests to pass under bison 2.6
266 -
267 -Given that bison is moving forward with the %parse-param instead of
268 -YYPARSE_PARAM syntax, it makes sense to switch over to using the new style
269 -declaration. In particular, this means that flex scanners that use bison
270 -features will now require bison 2.6 or higher.
271 -
272 -Signed-off-by: Will Estes <westes575@×××××.com>
273 ----
274 - tests/test-bison-yylloc/main.c | 2 --
275 - tests/test-bison-yylloc/parser.y | 6 +++---
276 - tests/test-bison-yylval/main.c | 2 --
277 - tests/test-bison-yylval/parser.y | 6 ++----
278 - 4 files changed, 5 insertions(+), 11 deletions(-)
279 -
280 -diff --git a/tests/test-bison-yylloc/main.c b/tests/test-bison-yylloc/main.c
281 -index 082c88c..24568a9 100644
282 ---- a/tests/test-bison-yylloc/main.c
283 -+++ b/tests/test-bison-yylloc/main.c
284 -@@ -24,8 +24,6 @@
285 - #include "parser.h"
286 - #include "scanner.h"
287 -
288 --extern int testparse(yyscan_t);
289 --
290 - int main ( int argc, char** argv )
291 - {
292 - yyscan_t scanner;
293 -diff --git a/tests/test-bison-yylloc/parser.y b/tests/test-bison-yylloc/parser.y
294 -index aaee976..e8f4e56 100644
295 ---- a/tests/test-bison-yylloc/parser.y
296 -+++ b/tests/test-bison-yylloc/parser.y
297 -@@ -21,6 +21,8 @@
298 - * PURPOSE.
299 - */
300 -
301 -+%parse-param { void* scanner }
302 -+
303 - /*
304 - How to compile:
305 - bison --defines --output-file="parser.c" --name-prefix="test" parser.y
306 -@@ -32,10 +34,8 @@
307 - #include "config.h"
308 -
309 - #define YYERROR_VERBOSE 1
310 --#define YYPARSE_PARAM scanner
311 - #define YYLEX_PARAM scanner
312 -
313 --int yyerror(char* msg);
314 - extern int testget_lineno(void*);
315 -
316 -
317 -@@ -89,7 +89,7 @@ line:
318 -
319 - %%
320 -
321 --int yyerror(char* msg) {
322 -+int yyerror(void* scanner, char* msg) {
323 - fprintf(stderr,"%s\n",msg);
324 - return 0;
325 - }
326 -diff --git a/tests/test-bison-yylval/main.c b/tests/test-bison-yylval/main.c
327 -index 165e672..30c4314 100644
328 ---- a/tests/test-bison-yylval/main.c
329 -+++ b/tests/test-bison-yylval/main.c
330 -@@ -24,8 +24,6 @@
331 - #include "parser.h"
332 - #include "scanner.h"
333 -
334 --extern int testparse(yyscan_t);
335 --
336 - int main ( int argc, char** argv )
337 - {
338 - yyscan_t scanner;
339 -diff --git a/tests/test-bison-yylval/parser.y b/tests/test-bison-yylval/parser.y
340 -index 77bac87..0ffdb89 100644
341 ---- a/tests/test-bison-yylval/parser.y
342 -+++ b/tests/test-bison-yylval/parser.y
343 -@@ -25,6 +25,7 @@
344 - How to compile:
345 - bison --defines --output-file="parser.c" --name-prefix="test" parser.y
346 - */
347 -+%parse-param { void* scanner }
348 - %{
349 - #include <stdio.h>
350 - #include <stdlib.h>
351 -@@ -32,11 +33,8 @@
352 - #include "config.h"
353 -
354 - #define YYERROR_VERBOSE 1
355 --#define YYPARSE_PARAM scanner
356 - #define YYLEX_PARAM scanner
357 -
358 --int yyerror(char* msg);
359 --
360 -
361 - /* A dummy function. A check against seg-faults in yylval->str. */
362 - int process_text(char* s) {
363 -@@ -76,7 +74,7 @@ starttag: LT TAGNAME GT { process_text($2); free($2);} ;
364 - endtag: LTSLASH TAGNAME GT { process_text($2);free($2);} ;
365 - %%
366 -
367 --int yyerror(char* msg) {
368 -+int yyerror(void* scanner, char* msg) {
369 - fprintf(stderr,"%s\n",msg);
370 - return 0;
371 - }
372 ---
373 -1.7.9.7
374 -
375
376 diff --git a/sys-devel/flex/flex-2.5.35.ebuild b/sys-devel/flex/flex-2.5.35.ebuild
377 deleted file mode 100644
378 index 8477cb9..0000000
379 --- a/sys-devel/flex/flex-2.5.35.ebuild
380 +++ /dev/null
381 @@ -1,43 +0,0 @@
382 -# Copyright 1999-2011 Gentoo Foundation
383 -# Distributed under the terms of the GNU General Public License v2
384 -# $Id$
385 -
386 -inherit eutils flag-o-matic
387 -
388 -#DEB_VER=36
389 -DESCRIPTION="The Fast Lexical Analyzer"
390 -HOMEPAGE="http://flex.sourceforge.net/"
391 -SRC_URI="mirror://sourceforge/flex/${P}.tar.bz2"
392 -# mirror://debian/pool/main/f/flex/${PN}_${PV}-${DEB_VER}.diff.gz"
393 -
394 -LICENSE="FLEX"
395 -SLOT="0"
396 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
397 -IUSE="nls static test"
398 -
399 -RDEPEND="sys-devel/m4"
400 -DEPEND="${RDEPEND}
401 - nls? ( sys-devel/gettext )
402 - test? ( sys-devel/bison )"
403 -
404 -src_unpack() {
405 - unpack ${A}
406 - cd "${S}"
407 - [[ -n ${DEB_VER} ]] && epatch "${WORKDIR}"/${PN}_${PV}-${DEB_VER}.diff
408 - epatch "${FILESDIR}"/${PN}-2.5.34-isatty.patch #119598
409 - epatch "${FILESDIR}"/${PN}-2.5.33-pic.patch
410 - epatch "${FILESDIR}"/${PN}-2.5.35-gcc44.patch
411 - sed -i 's:^LDFLAGS:LOADLIBES:' tests/test-pthread/Makefile.in #262989
412 -}
413 -
414 -src_compile() {
415 - use static && append-ldflags -static
416 - econf $(use_enable nls) || die
417 - emake || die
418 -}
419 -
420 -src_install() {
421 - emake install DESTDIR="${D}" || die "make install failed"
422 - dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO
423 - dosym flex /usr/bin/lex
424 -}
425
426 diff --git a/sys-devel/flex/flex-2.5.35_p10.ebuild b/sys-devel/flex/flex-2.5.35_p10.ebuild
427 deleted file mode 100644
428 index 2b58515..0000000
429 --- a/sys-devel/flex/flex-2.5.35_p10.ebuild
430 +++ /dev/null
431 @@ -1,50 +0,0 @@
432 -# Copyright 1999-2012 Gentoo Foundation
433 -# Distributed under the terms of the GNU General Public License v2
434 -# $Id$
435 -
436 -EAPI="3"
437 -
438 -inherit eutils flag-o-matic autotools
439 -
440 -if [[ ${PV} == *_p* ]]; then
441 - DEB_DIFF=${PN}_${PV/_p/-}
442 -fi
443 -
444 -MY_P=${P%_p*}
445 -
446 -DESCRIPTION="The Fast Lexical Analyzer"
447 -HOMEPAGE="http://flex.sourceforge.net/"
448 -SRC_URI="mirror://sourceforge/flex/${MY_P}.tar.bz2
449 - ${DEB_DIFF:+mirror://debian/pool/main/f/flex/${DEB_DIFF}.diff.gz}"
450 -
451 -LICENSE="FLEX"
452 -SLOT="0"
453 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
454 -IUSE="nls static test"
455 -
456 -# We want bison explicitly and not yacc in general #381273
457 -RDEPEND="sys-devel/m4"
458 -DEPEND="${RDEPEND}
459 - nls? ( sys-devel/gettext )
460 - test? ( sys-devel/bison )"
461 -
462 -S=${WORKDIR}/${MY_P}
463 -
464 -src_prepare() {
465 - [[ -n ${DEB_DIFF} ]] && epatch "${WORKDIR}"/${DEB_DIFF}.diff
466 - epatch "${FILESDIR}"/${PN}-2.5.35-gcc44.patch
467 - epatch "${FILESDIR}"/${PN}-2.5.35-saneautotools.patch
468 -
469 - eautoreconf
470 -}
471 -
472 -src_configure() {
473 - use static && append-ldflags -static
474 - econf $(use_enable nls)
475 -}
476 -
477 -src_install() {
478 - emake install DESTDIR="${D}" || die "make install failed"
479 - dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO || die
480 - dosym flex /usr/bin/lex
481 -}
482
483 diff --git a/sys-devel/flex/flex-2.5.37.ebuild b/sys-devel/flex/flex-2.5.37.ebuild
484 deleted file mode 100644
485 index dc37f63..0000000
486 --- a/sys-devel/flex/flex-2.5.37.ebuild
487 +++ /dev/null
488 @@ -1,51 +0,0 @@
489 -# Copyright 1999-2014 Gentoo Foundation
490 -# Distributed under the terms of the GNU General Public License v2
491 -# $Id$
492 -
493 -EAPI="3"
494 -
495 -inherit eutils flag-o-matic toolchain-funcs
496 -
497 -if [[ ${PV} == *_p* ]] ; then
498 - DEB_DIFF=${PN}_${PV/_p/-}
499 -fi
500 -MY_P=${P%_p*}
501 -
502 -DESCRIPTION="The Fast Lexical Analyzer"
503 -HOMEPAGE="http://flex.sourceforge.net/"
504 -SRC_URI="mirror://sourceforge/flex/${MY_P}.tar.bz2
505 - ${DEB_DIFF:+mirror://debian/pool/main/f/flex/${DEB_DIFF}.diff.gz}"
506 -
507 -LICENSE="FLEX"
508 -SLOT="0"
509 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
510 -IUSE="nls static test"
511 -
512 -# We want bison explicitly and not yacc in general #381273
513 -RDEPEND="sys-devel/m4"
514 -DEPEND="${RDEPEND}
515 - nls? ( sys-devel/gettext )
516 - test? ( sys-devel/bison )"
517 -
518 -S=${WORKDIR}/${MY_P}
519 -
520 -src_prepare() {
521 - [[ -n ${DEB_DIFF} ]] && epatch "${WORKDIR}"/${DEB_DIFF}.diff
522 - epatch "${FILESDIR}"/${P}-proto.patch
523 - epatch "${FILESDIR}"/${P}-tests.patch #429954
524 - sed -i "/^AR =/s:=.*:= $(tc-getAR):" Makefile.in || die #444086
525 -}
526 -
527 -src_configure() {
528 - use static && append-ldflags -static
529 - econf \
530 - $(use_enable nls) \
531 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
532 -}
533 -
534 -src_install() {
535 - emake install DESTDIR="${D}" || die
536 - rm "${ED}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die
537 - dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO
538 - dosym flex /usr/bin/lex
539 -}
540
541 diff --git a/sys-devel/flex/flex-2.5.38-r1.ebuild b/sys-devel/flex/flex-2.5.38-r1.ebuild
542 deleted file mode 100644
543 index 7faf421..0000000
544 --- a/sys-devel/flex/flex-2.5.38-r1.ebuild
545 +++ /dev/null
546 @@ -1,40 +0,0 @@
547 -# Copyright 1999-2014 Gentoo Foundation
548 -# Distributed under the terms of the GNU General Public License v2
549 -# $Id$
550 -
551 -EAPI="4"
552 -
553 -inherit flag-o-matic
554 -
555 -DESCRIPTION="The Fast Lexical Analyzer"
556 -HOMEPAGE="http://flex.sourceforge.net/"
557 -SRC_URI="mirror://sourceforge/flex/${P}.tar.xz"
558 -
559 -LICENSE="FLEX"
560 -SLOT="0"
561 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
562 -IUSE="nls static test"
563 -
564 -# We want bison explicitly and not yacc in general #381273
565 -RDEPEND="sys-devel/m4"
566 -DEPEND="${RDEPEND}
567 - app-arch/xz-utils
568 - nls? ( sys-devel/gettext )
569 - test? ( sys-devel/bison )"
570 -
571 -src_configure() {
572 - use static && append-ldflags -static
573 - # Do not install shared libs #503522
574 - econf \
575 - --disable-shared \
576 - $(use_enable nls) \
577 - --docdir='$(datarootdir)/doc/'${PF}
578 -}
579 -
580 -src_install() {
581 - default
582 - dodoc ONEWS
583 - find "${ED}" -name '*.la' -delete
584 - rm "${ED}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die
585 - dosym flex /usr/bin/lex
586 -}
587
588 diff --git a/sys-devel/flex/flex-2.5.39.ebuild b/sys-devel/flex/flex-2.5.39.ebuild
589 deleted file mode 100644
590 index 7faf421..0000000
591 --- a/sys-devel/flex/flex-2.5.39.ebuild
592 +++ /dev/null
593 @@ -1,40 +0,0 @@
594 -# Copyright 1999-2014 Gentoo Foundation
595 -# Distributed under the terms of the GNU General Public License v2
596 -# $Id$
597 -
598 -EAPI="4"
599 -
600 -inherit flag-o-matic
601 -
602 -DESCRIPTION="The Fast Lexical Analyzer"
603 -HOMEPAGE="http://flex.sourceforge.net/"
604 -SRC_URI="mirror://sourceforge/flex/${P}.tar.xz"
605 -
606 -LICENSE="FLEX"
607 -SLOT="0"
608 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
609 -IUSE="nls static test"
610 -
611 -# We want bison explicitly and not yacc in general #381273
612 -RDEPEND="sys-devel/m4"
613 -DEPEND="${RDEPEND}
614 - app-arch/xz-utils
615 - nls? ( sys-devel/gettext )
616 - test? ( sys-devel/bison )"
617 -
618 -src_configure() {
619 - use static && append-ldflags -static
620 - # Do not install shared libs #503522
621 - econf \
622 - --disable-shared \
623 - $(use_enable nls) \
624 - --docdir='$(datarootdir)/doc/'${PF}
625 -}
626 -
627 -src_install() {
628 - default
629 - dodoc ONEWS
630 - find "${ED}" -name '*.la' -delete
631 - rm "${ED}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die
632 - dosym flex /usr/bin/lex
633 -}