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@gentoo.org>
This commit is contained in:
Sam James
2023-01-29 10:14:03 +00:00
parent 7f25af2276
commit 992efc9c9c

View File

@@ -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