1 |
commit: 992efc9c9c56d8c02db7b4fe94de8d910dcaefdd |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 10:14:03 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 10:19:52 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992efc9c |
7 |
|
8 |
media-libs/libaacs: force bison+flex |
9 |
|
10 |
See upstream MR but it's very much not compatible with the POSIX variants. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/887071 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
media-libs/libaacs/libaacs-0.11.1-r1.ebuild | 19 ++++++++++++++----- |
16 |
1 file changed, 14 insertions(+), 5 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/libaacs/libaacs-0.11.1-r1.ebuild b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild |
19 |
index c521f48a95d6..aaacf8da1fb6 100644 |
20 |
--- a/media-libs/libaacs/libaacs-0.11.1-r1.ebuild |
21 |
+++ b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2022 Gentoo Authors |
24 |
+# Copyright 1999-2023 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=8 |
28 |
@@ -13,15 +13,24 @@ LICENSE="LGPL-2.1" |
29 |
SLOT="0" |
30 |
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" |
31 |
|
32 |
-RDEPEND=">=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] |
33 |
- >=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]" |
34 |
+RDEPEND=" |
35 |
+ >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] |
36 |
+ >=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}] |
37 |
+" |
38 |
DEPEND="${RDEPEND}" |
39 |
-BDEPEND="sys-devel/flex |
40 |
- app-alternatives/yacc" |
41 |
+BDEPEND=" |
42 |
+ sys-devel/bison |
43 |
+ sys-devel/flex |
44 |
+" |
45 |
|
46 |
DOCS=( ChangeLog KEYDB.cfg README.md ) |
47 |
|
48 |
multilib_src_configure() { |
49 |
+ # Force Bison & flex as it doesn't work even w/ build system fixed |
50 |
+ # https://code.videolan.org/videolan/libaacs/-/merge_requests/14 |
51 |
+ unset YACC |
52 |
+ export LEX=flex |
53 |
+ |
54 |
local myeconfargs=( |
55 |
--disable-optimizations |
56 |
--enable-shared |