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