summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 10:14:03 +0000
committerSam James <sam@gentoo.org>2023-01-29 10:19:52 +0000
commit992efc9c9c56d8c02db7b4fe94de8d910dcaefdd (patch)
tree9712d4b4c19eac087b84f42b6b0784ddabcc6998 /media-libs/libaacs
parentdev-python/funcy: Enable py3.11 (diff)
downloadgentoo-992efc9c9c56d8c02db7b4fe94de8d910dcaefdd.tar.gz
gentoo-992efc9c9c56d8c02db7b4fe94de8d910dcaefdd.tar.bz2
gentoo-992efc9c9c56d8c02db7b4fe94de8d910dcaefdd.zip
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>
Diffstat (limited to 'media-libs/libaacs')
-rw-r--r--media-libs/libaacs/libaacs-0.11.1-r1.ebuild19
1 files 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