1 |
commit: 0438e6d3b20ae30dfc2339cca81f53c1f8b2a1d8 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 22:46:30 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 19:02:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0438e6d3 |
7 |
|
8 |
sys-devel/flex: Drop 2.6.1, 2.6.3, 2.6.3-r1 and 2.6.4 (r0) |
9 |
|
10 |
Bug: https://bugs.gentoo.org/777906 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
sys-devel/flex/Manifest | 2 - |
15 |
sys-devel/flex/files/flex-2.6.3-reentrant.patch | 82 ------------------------ |
16 |
sys-devel/flex/flex-2.6.1.ebuild | 78 ----------------------- |
17 |
sys-devel/flex/flex-2.6.3-r1.ebuild | 85 ------------------------- |
18 |
sys-devel/flex/flex-2.6.3.ebuild | 79 ----------------------- |
19 |
sys-devel/flex/flex-2.6.4.ebuild | 82 ------------------------ |
20 |
6 files changed, 408 deletions(-) |
21 |
|
22 |
diff --git a/sys-devel/flex/Manifest b/sys-devel/flex/Manifest |
23 |
index 14e6b2bca98..327f0405ede 100644 |
24 |
--- a/sys-devel/flex/Manifest |
25 |
+++ b/sys-devel/flex/Manifest |
26 |
@@ -1,3 +1 @@ |
27 |
-DIST flex-2.6.1.tar.xz 835048 BLAKE2B 5b0b67774d1ba2d4b2ad8a8cba1f0b8fed9aecdae387e54e6cb8fd1c0c9ef78559bc1a6fe6b97f984f16b438d350de4dccda7e3427d71fead9073ab6616b0ecc SHA512 1e35d0447f59139b98ede085d1a603d4f61cf8bc11cf2e291a3f492a05c60ee61535481b878585cd6843cd9b3c7952c834adfa78a6a71c64802e7b3069dec9d1 |
28 |
-DIST flex-2.6.3.tar.gz 1405560 BLAKE2B 2aa9ca18f2ab124db9567e2d2ee512881a71755342bdcbd05ef536653396d1e4ed47dafc1227531bf9e9a610d9c5aa2d924bf864b18c5a618b2ccb61db7fef4e SHA512 f14b1af7ddd148660737991787fcf13d86cc0bef3859ed6c2135963373e76524d70382795c845cb6491b0435f8c40ba81e17f15267592b8d1656cfd4c3430b00 |
29 |
DIST flex-2.6.4.tar.gz 1419096 BLAKE2B c003d4f764f7f4d41e33af7ee28c2af272a9f0aee6ba7c2494ba96722d8d0b18f7a3f745217e9a2cecb43b6863328267a810280670c04464156b3eb3d7ee9d62 SHA512 e9785f3d620a204b7d20222888917dc065c2036cae28667065bf7862dfa1b25235095a12fd04efdbd09bfd17d3452e6b9ef953a8c1137862ff671c97132a082e |
30 |
|
31 |
diff --git a/sys-devel/flex/files/flex-2.6.3-reentrant.patch b/sys-devel/flex/files/flex-2.6.3-reentrant.patch |
32 |
deleted file mode 100644 |
33 |
index f2f5eb8374b..00000000000 |
34 |
--- a/sys-devel/flex/files/flex-2.6.3-reentrant.patch |
35 |
+++ /dev/null |
36 |
@@ -1,82 +0,0 @@ |
37 |
-From 078b46c69d063aef1715b11348a2871d6036f253 Mon Sep 17 00:00:00 2001 |
38 |
-From: Christos Zoulas <christos@××××××.com> |
39 |
-Date: Sun, 22 Jan 2017 18:34:30 +0100 |
40 |
-Subject: [PATCH] Add more defines in the non-reentrant part. |
41 |
- |
42 |
-Fix the reentrant part; don't "#define yyfoo yyfoo" because it breaks |
43 |
-code that does #ifndef yywrap .. |
44 |
---- |
45 |
- src/flex.skl | 16 ++++++++++++++-- |
46 |
- 1 file changed, 14 insertions(+), 2 deletions(-) |
47 |
- |
48 |
-diff --git a/src/flex.skl b/src/flex.skl |
49 |
-index 190700f..6a7cde4 100644 |
50 |
---- a/src/flex.skl |
51 |
-+++ b/src/flex.skl |
52 |
-@@ -61,11 +61,17 @@ m4_changequote([[, ]]) |
53 |
- m4_ifelse(M4_YY_PREFIX,yy,, |
54 |
- #define yy_create_buffer M4_YY_PREFIX[[_create_buffer]] |
55 |
- #define yy_delete_buffer M4_YY_PREFIX[[_delete_buffer]] |
56 |
--#define yy_flex_debug M4_YY_PREFIX[[_flex_debug]] |
57 |
-+#define yy_scan_buffer M4_YY_PREFIX[[_scan_buffer]] |
58 |
-+#define yy_scan_string M4_YY_PREFIX[[_scan_string]] |
59 |
-+#define yy_scan_bytes M4_YY_PREFIX[[_scan_bytes]] |
60 |
- #define yy_init_buffer M4_YY_PREFIX[[_init_buffer]] |
61 |
- #define yy_flush_buffer M4_YY_PREFIX[[_flush_buffer]] |
62 |
- #define yy_load_buffer_state M4_YY_PREFIX[[_load_buffer_state]] |
63 |
- #define yy_switch_to_buffer M4_YY_PREFIX[[_switch_to_buffer]] |
64 |
-+#define yypush_buffer_state M4_YY_PREFIX[[push_buffer_state]] |
65 |
-+#define yypop_buffer_state M4_YY_PREFIX[[pop_buffer_state]] |
66 |
-+#define yyensure_buffer_stack M4_YY_PREFIX[[ensure_buffer_stack]] |
67 |
-+#define yy_flex_debug M4_YY_PREFIX[[_flex_debug]] |
68 |
- #define yyin M4_YY_PREFIX[[in]] |
69 |
- #define yyleng M4_YY_PREFIX[[leng]] |
70 |
- #define yylex M4_YY_PREFIX[[lex]] |
71 |
-@@ -107,7 +113,7 @@ m4_ifdef( [[M4_YY_PREFIX]],, [[m4_define([[M4_YY_PREFIX]], [[yy]])]]) |
72 |
- |
73 |
- m4preproc_define(`M4_GEN_PREFIX', |
74 |
- ``[[#define yy$1 ]]M4_YY_PREFIX[[$1]] |
75 |
--m4_define([[yy$1]], [[M4_YY_PREFIX[[$1]]m4_ifelse($'`#,0,,[[($'`@)]])]])'') |
76 |
-+%# m4_define([[yy$1]], [[M4_YY_PREFIX[[$1]]m4_ifelse($'`#,0,,[[($'`@)]])]])'') |
77 |
- |
78 |
- %if-c++-only |
79 |
- /* The c++ scanner is a mess. The FlexLexer.h header file relies on the |
80 |
-@@ -120,6 +126,7 @@ m4_define([[yy$1]], [[M4_YY_PREFIX[[$1]]m4_ifelse($'`#,0,,[[($'`@)]])]])'') |
81 |
- %endif |
82 |
- |
83 |
- %if-c-only |
84 |
-+m4_ifelse(M4_YY_PREFIX,yy,, |
85 |
- M4_GEN_PREFIX(`_create_buffer') |
86 |
- M4_GEN_PREFIX(`_delete_buffer') |
87 |
- M4_GEN_PREFIX(`_scan_buffer') |
88 |
-@@ -155,6 +162,7 @@ m4_define([[yy$1]], [[M4_YY_PREFIX[[$1]]m4_ifelse($'`#,0,,[[($'`@)]])]])'') |
89 |
- M4_GEN_PREFIX(`set_column') |
90 |
- ]]) |
91 |
- M4_GEN_PREFIX(`wrap') |
92 |
-+) |
93 |
- %endif |
94 |
- |
95 |
- m4_ifdef( [[M4_YY_BISON_LVAL]], |
96 |
-@@ -170,11 +178,14 @@ m4_ifdef( [[<M4_YY_BISON_LLOC>]], |
97 |
- ]]) |
98 |
- |
99 |
- |
100 |
-+m4_ifelse(M4_YY_PREFIX,yy,, |
101 |
- M4_GEN_PREFIX(`alloc') |
102 |
- M4_GEN_PREFIX(`realloc') |
103 |
- M4_GEN_PREFIX(`free') |
104 |
-+) |
105 |
- |
106 |
- %if-c-only |
107 |
-+m4_ifelse(M4_YY_PREFIX,yy,, |
108 |
- m4_ifdef( [[M4_YY_NOT_REENTRANT]], |
109 |
- [[ |
110 |
- M4_GEN_PREFIX(`text') |
111 |
-@@ -184,6 +195,7 @@ m4_ifdef( [[M4_YY_NOT_REENTRANT]], |
112 |
- M4_GEN_PREFIX(`_flex_debug') |
113 |
- M4_GEN_PREFIX(`lineno') |
114 |
- ]]) |
115 |
-+) |
116 |
- %endif |
117 |
- |
118 |
- |
119 |
|
120 |
diff --git a/sys-devel/flex/flex-2.6.1.ebuild b/sys-devel/flex/flex-2.6.1.ebuild |
121 |
deleted file mode 100644 |
122 |
index d732bb861ff..00000000000 |
123 |
--- a/sys-devel/flex/flex-2.6.1.ebuild |
124 |
+++ /dev/null |
125 |
@@ -1,78 +0,0 @@ |
126 |
-# Copyright 1999-2021 Gentoo Authors |
127 |
-# Distributed under the terms of the GNU General Public License v2 |
128 |
- |
129 |
-EAPI="5" |
130 |
- |
131 |
-inherit eutils flag-o-matic ltprune multilib-minimal |
132 |
- |
133 |
-DESCRIPTION="The Fast Lexical Analyzer" |
134 |
-HOMEPAGE="https://flex.sourceforge.net/ https://github.com/westes/flex" |
135 |
-SRC_URI="https://github.com/westes/flex/releases/download/v${PV}/${P}.tar.xz" |
136 |
- |
137 |
-LICENSE="FLEX" |
138 |
-SLOT="0" |
139 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
140 |
-IUSE="nls static test" |
141 |
-RESTRICT="!test? ( test )" |
142 |
- |
143 |
-# We want bison explicitly and not yacc in general #381273 |
144 |
-RDEPEND="sys-devel/m4" |
145 |
-DEPEND="${RDEPEND} |
146 |
- app-arch/xz-utils |
147 |
- nls? ( sys-devel/gettext ) |
148 |
- test? ( sys-devel/bison )" |
149 |
- |
150 |
-src_prepare() { |
151 |
- # Disable running in the tests/ subdir as it has a bunch of built sources |
152 |
- # that cannot be made conditional (automake limitation). #568842 |
153 |
- if ! use test ; then |
154 |
- sed -i \ |
155 |
- -e '/^SUBDIRS =/,/^$/{/tests/d}' \ |
156 |
- Makefile.in || die |
157 |
- fi |
158 |
-} |
159 |
- |
160 |
-src_configure() { |
161 |
- use static && append-ldflags -static |
162 |
- |
163 |
- multilib-minimal_src_configure |
164 |
-} |
165 |
- |
166 |
-multilib_src_configure() { |
167 |
- # Do not install shared libs #503522 |
168 |
- ECONF_SOURCE=${S} \ |
169 |
- econf \ |
170 |
- --disable-shared \ |
171 |
- $(use_enable nls) \ |
172 |
- --docdir='$(datarootdir)/doc/'${PF} |
173 |
-} |
174 |
- |
175 |
-multilib_src_compile() { |
176 |
- if multilib_is_native_abi; then |
177 |
- default |
178 |
- else |
179 |
- cd src || die |
180 |
- emake -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)' |
181 |
- fi |
182 |
-} |
183 |
- |
184 |
-multilib_src_test() { |
185 |
- multilib_is_native_abi && emake check |
186 |
-} |
187 |
- |
188 |
-multilib_src_install() { |
189 |
- if multilib_is_native_abi; then |
190 |
- default |
191 |
- else |
192 |
- cd src || die |
193 |
- emake DESTDIR="${D}" install-libLTLIBRARIES install-includeHEADERS |
194 |
- fi |
195 |
-} |
196 |
- |
197 |
-multilib_src_install_all() { |
198 |
- einstalldocs |
199 |
- dodoc ONEWS |
200 |
- prune_libtool_files --all |
201 |
- rm "${ED}"/usr/share/doc/${PF}/COPYING || die |
202 |
- dosym flex /usr/bin/lex |
203 |
-} |
204 |
|
205 |
diff --git a/sys-devel/flex/flex-2.6.3-r1.ebuild b/sys-devel/flex/flex-2.6.3-r1.ebuild |
206 |
deleted file mode 100644 |
207 |
index 86c8beada8b..00000000000 |
208 |
--- a/sys-devel/flex/flex-2.6.3-r1.ebuild |
209 |
+++ /dev/null |
210 |
@@ -1,85 +0,0 @@ |
211 |
-# Copyright 1999-2021 Gentoo Authors |
212 |
-# Distributed under the terms of the GNU General Public License v2 |
213 |
- |
214 |
-EAPI="5" |
215 |
- |
216 |
-inherit eutils flag-o-matic libtool ltprune multilib-minimal |
217 |
- |
218 |
-DESCRIPTION="The Fast Lexical Analyzer" |
219 |
-HOMEPAGE="https://flex.sourceforge.net/ https://github.com/westes/flex" |
220 |
-SRC_URI="https://github.com/westes/${PN}/releases/download/v${PV}/${P}.tar.gz" |
221 |
- |
222 |
-LICENSE="FLEX" |
223 |
-SLOT="0" |
224 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
225 |
-IUSE="nls static test" |
226 |
-RESTRICT="!test? ( test )" |
227 |
- |
228 |
-# We want bison explicitly and not yacc in general #381273 |
229 |
-RDEPEND="sys-devel/m4" |
230 |
-DEPEND="${RDEPEND} |
231 |
- app-arch/xz-utils |
232 |
- nls? ( sys-devel/gettext ) |
233 |
- test? ( sys-devel/bison )" |
234 |
- |
235 |
-PATCHES=( |
236 |
- "${FILESDIR}/${P}-reentrant.patch" |
237 |
-) |
238 |
- |
239 |
-src_prepare() { |
240 |
- epatch "${PATCHES[@]}" |
241 |
- |
242 |
- # Disable running in the tests/ subdir as it has a bunch of built sources |
243 |
- # that cannot be made conditional (automake limitation). #568842 |
244 |
- if ! use test ; then |
245 |
- sed -i \ |
246 |
- -e '/^SUBDIRS =/,/^$/{/tests/d}' \ |
247 |
- Makefile.in || die |
248 |
- fi |
249 |
- elibtoolize # Prefix always needs this |
250 |
-} |
251 |
- |
252 |
-src_configure() { |
253 |
- use static && append-ldflags -static |
254 |
- |
255 |
- multilib-minimal_src_configure |
256 |
-} |
257 |
- |
258 |
-multilib_src_configure() { |
259 |
- # Do not install shared libs #503522 |
260 |
- ECONF_SOURCE=${S} \ |
261 |
- econf \ |
262 |
- --disable-shared \ |
263 |
- $(use_enable nls) \ |
264 |
- --docdir='$(datarootdir)/doc/'${PF} |
265 |
-} |
266 |
- |
267 |
-multilib_src_compile() { |
268 |
- if multilib_is_native_abi; then |
269 |
- default |
270 |
- else |
271 |
- cd src || die |
272 |
- emake -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)' |
273 |
- fi |
274 |
-} |
275 |
- |
276 |
-multilib_src_test() { |
277 |
- multilib_is_native_abi && emake check |
278 |
-} |
279 |
- |
280 |
-multilib_src_install() { |
281 |
- if multilib_is_native_abi; then |
282 |
- default |
283 |
- else |
284 |
- cd src || die |
285 |
- emake DESTDIR="${D}" install-libLTLIBRARIES install-includeHEADERS |
286 |
- fi |
287 |
-} |
288 |
- |
289 |
-multilib_src_install_all() { |
290 |
- einstalldocs |
291 |
- dodoc ONEWS |
292 |
- prune_libtool_files --all |
293 |
- rm "${ED}"/usr/share/doc/${PF}/COPYING || die |
294 |
- dosym flex /usr/bin/lex |
295 |
-} |
296 |
|
297 |
diff --git a/sys-devel/flex/flex-2.6.3.ebuild b/sys-devel/flex/flex-2.6.3.ebuild |
298 |
deleted file mode 100644 |
299 |
index 92259329371..00000000000 |
300 |
--- a/sys-devel/flex/flex-2.6.3.ebuild |
301 |
+++ /dev/null |
302 |
@@ -1,79 +0,0 @@ |
303 |
-# Copyright 1999-2021 Gentoo Authors |
304 |
-# Distributed under the terms of the GNU General Public License v2 |
305 |
- |
306 |
-EAPI="5" |
307 |
- |
308 |
-inherit eutils flag-o-matic libtool ltprune multilib-minimal |
309 |
- |
310 |
-DESCRIPTION="The Fast Lexical Analyzer" |
311 |
-HOMEPAGE="https://flex.sourceforge.net/ https://github.com/westes/flex" |
312 |
-SRC_URI="https://github.com/westes/${PN}/releases/download/v${PV}/${P}.tar.gz" |
313 |
- |
314 |
-LICENSE="FLEX" |
315 |
-SLOT="0" |
316 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
317 |
-IUSE="nls static test" |
318 |
-RESTRICT="!test? ( test )" |
319 |
- |
320 |
-# We want bison explicitly and not yacc in general #381273 |
321 |
-RDEPEND="sys-devel/m4" |
322 |
-DEPEND="${RDEPEND} |
323 |
- app-arch/xz-utils |
324 |
- nls? ( sys-devel/gettext ) |
325 |
- test? ( sys-devel/bison )" |
326 |
- |
327 |
-src_prepare() { |
328 |
- # Disable running in the tests/ subdir as it has a bunch of built sources |
329 |
- # that cannot be made conditional (automake limitation). #568842 |
330 |
- if ! use test ; then |
331 |
- sed -i \ |
332 |
- -e '/^SUBDIRS =/,/^$/{/tests/d}' \ |
333 |
- Makefile.in || die |
334 |
- fi |
335 |
- elibtoolize # Prefix always needs this |
336 |
-} |
337 |
- |
338 |
-src_configure() { |
339 |
- use static && append-ldflags -static |
340 |
- |
341 |
- multilib-minimal_src_configure |
342 |
-} |
343 |
- |
344 |
-multilib_src_configure() { |
345 |
- # Do not install shared libs #503522 |
346 |
- ECONF_SOURCE=${S} \ |
347 |
- econf \ |
348 |
- --disable-shared \ |
349 |
- $(use_enable nls) \ |
350 |
- --docdir='$(datarootdir)/doc/'${PF} |
351 |
-} |
352 |
- |
353 |
-multilib_src_compile() { |
354 |
- if multilib_is_native_abi; then |
355 |
- default |
356 |
- else |
357 |
- cd src || die |
358 |
- emake -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)' |
359 |
- fi |
360 |
-} |
361 |
- |
362 |
-multilib_src_test() { |
363 |
- multilib_is_native_abi && emake check |
364 |
-} |
365 |
- |
366 |
-multilib_src_install() { |
367 |
- if multilib_is_native_abi; then |
368 |
- default |
369 |
- else |
370 |
- cd src || die |
371 |
- emake DESTDIR="${D}" install-libLTLIBRARIES install-includeHEADERS |
372 |
- fi |
373 |
-} |
374 |
- |
375 |
-multilib_src_install_all() { |
376 |
- einstalldocs |
377 |
- dodoc ONEWS |
378 |
- prune_libtool_files --all |
379 |
- rm "${ED}"/usr/share/doc/${PF}/COPYING || die |
380 |
- dosym flex /usr/bin/lex |
381 |
-} |
382 |
|
383 |
diff --git a/sys-devel/flex/flex-2.6.4.ebuild b/sys-devel/flex/flex-2.6.4.ebuild |
384 |
deleted file mode 100644 |
385 |
index 623bc261d89..00000000000 |
386 |
--- a/sys-devel/flex/flex-2.6.4.ebuild |
387 |
+++ /dev/null |
388 |
@@ -1,82 +0,0 @@ |
389 |
-# Copyright 1999-2021 Gentoo Authors |
390 |
-# Distributed under the terms of the GNU General Public License v2 |
391 |
- |
392 |
-EAPI="5" |
393 |
- |
394 |
-inherit eutils flag-o-matic libtool ltprune multilib-minimal |
395 |
- |
396 |
-DESCRIPTION="The Fast Lexical Analyzer" |
397 |
-HOMEPAGE="https://flex.sourceforge.net/ https://github.com/westes/flex" |
398 |
-SRC_URI="https://github.com/westes/${PN}/releases/download/v${PV}/${P}.tar.gz" |
399 |
- |
400 |
-LICENSE="FLEX" |
401 |
-SLOT="0" |
402 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
403 |
-IUSE="nls static test" |
404 |
-RESTRICT="!test? ( test )" |
405 |
- |
406 |
-# We want bison explicitly and not yacc in general #381273 |
407 |
-RDEPEND="sys-devel/m4" |
408 |
-DEPEND="${RDEPEND} |
409 |
- app-arch/xz-utils |
410 |
- nls? ( sys-devel/gettext ) |
411 |
- test? ( sys-devel/bison )" |
412 |
- |
413 |
-src_prepare() { |
414 |
- #epatch "${PATCHES[@]}" |
415 |
- epatch_user |
416 |
- |
417 |
- # Disable running in the tests/ subdir as it has a bunch of built sources |
418 |
- # that cannot be made conditional (automake limitation). #568842 |
419 |
- if ! use test ; then |
420 |
- sed -i \ |
421 |
- -e '/^SUBDIRS =/,/^$/{/tests/d}' \ |
422 |
- Makefile.in || die |
423 |
- fi |
424 |
- elibtoolize # Prefix always needs this |
425 |
-} |
426 |
- |
427 |
-src_configure() { |
428 |
- use static && append-ldflags -static |
429 |
- |
430 |
- multilib-minimal_src_configure |
431 |
-} |
432 |
- |
433 |
-multilib_src_configure() { |
434 |
- # Do not install shared libs #503522 |
435 |
- ECONF_SOURCE=${S} \ |
436 |
- econf \ |
437 |
- --disable-shared \ |
438 |
- $(use_enable nls) \ |
439 |
- --docdir='$(datarootdir)/doc/'${PF} |
440 |
-} |
441 |
- |
442 |
-multilib_src_compile() { |
443 |
- if multilib_is_native_abi; then |
444 |
- default |
445 |
- else |
446 |
- cd src || die |
447 |
- emake -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)' |
448 |
- fi |
449 |
-} |
450 |
- |
451 |
-multilib_src_test() { |
452 |
- multilib_is_native_abi && emake check |
453 |
-} |
454 |
- |
455 |
-multilib_src_install() { |
456 |
- if multilib_is_native_abi; then |
457 |
- default |
458 |
- else |
459 |
- cd src || die |
460 |
- emake DESTDIR="${D}" install-libLTLIBRARIES install-includeHEADERS |
461 |
- fi |
462 |
-} |
463 |
- |
464 |
-multilib_src_install_all() { |
465 |
- einstalldocs |
466 |
- dodoc ONEWS |
467 |
- prune_libtool_files --all |
468 |
- rm "${ED}"/usr/share/doc/${PF}/COPYING || die |
469 |
- dosym flex /usr/bin/lex |
470 |
-} |