summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-08 02:53:56 +0100
committerSam James <sam@gentoo.org>2023-10-08 02:53:56 +0100
commit0f90fb0a98d5ac1d87bb836a42abaec55015c9a5 (patch)
tree742e9a998e88d78aef614a1f99d943dbcbfa9289
parentapp-text/qpdf: add 11.6.2 (diff)
downloadgentoo-0f90fb0a98d5ac1d87bb836a42abaec55015c9a5.tar.gz
gentoo-0f90fb0a98d5ac1d87bb836a42abaec55015c9a5.tar.bz2
gentoo-0f90fb0a98d5ac1d87bb836a42abaec55015c9a5.zip
app-emulation/guestfs-tools: needs bison+flex
Closes: https://bugs.gentoo.org/915339 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-emulation/guestfs-tools/guestfs-tools-1.48.2.ebuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/app-emulation/guestfs-tools/guestfs-tools-1.48.2.ebuild b/app-emulation/guestfs-tools/guestfs-tools-1.48.2.ebuild
index 6fe7b676fdfc..8521e3d06afd 100644
--- a/app-emulation/guestfs-tools/guestfs-tools-1.48.2.ebuild
+++ b/app-emulation/guestfs-tools/guestfs-tools-1.48.2.ebuild
@@ -55,7 +55,8 @@ COMMON_DEPEND="
"
# Some OCaml is always required
# bug #729674
-DEPEND="${COMMON_DEPEND}
+DEPEND="
+ ${COMMON_DEPEND}
>=dev-lang/ocaml-4.03:=[ocamlopt]
dev-ml/findlib[ocamlopt]
doc? ( app-text/po4a )
@@ -67,8 +68,13 @@ DEPEND="${COMMON_DEPEND}
)
)
"
-BDEPEND="virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+RDEPEND="
+ ${COMMON_DEPEND}
app-emulation/libguestfs-appliance
"
@@ -87,6 +93,9 @@ src_configure() {
# bug #794877
tc-export AR
+ # Needs both bison+flex (bug #915339, see configure too)
+ unset YACC LEX
+
if use test ; then
# Skip Bash test
# (See 13-test-suite.log in linked bug)