mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -13,15 +13,24 @@ LICENSE="LGPL-2.1"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
|
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
|
RDEPEND="
|
||||||
>=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]"
|
>=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]
|
||||||
|
"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
BDEPEND="sys-devel/flex
|
BDEPEND="
|
||||||
app-alternatives/yacc"
|
sys-devel/bison
|
||||||
|
sys-devel/flex
|
||||||
|
"
|
||||||
|
|
||||||
DOCS=( ChangeLog KEYDB.cfg README.md )
|
DOCS=( ChangeLog KEYDB.cfg README.md )
|
||||||
|
|
||||||
multilib_src_configure() {
|
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=(
|
local myeconfargs=(
|
||||||
--disable-optimizations
|
--disable-optimizations
|
||||||
--enable-shared
|
--enable-shared
|
||||||
|
|||||||
Reference in New Issue
Block a user