summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-08 02:55:33 +0100
committerSam James <sam@gentoo.org>2023-10-08 02:55:33 +0100
commitb7fa38898fcb43f810130bc5a3001fe8091168bf (patch)
tree5118d33da61f470e109913c4cf2ff58e43e46f55 /app-emulation/libguestfs
parentapp-emulation/libguestfs: drop 1.48.4 (diff)
downloadgentoo-b7fa38898fcb43f810130bc5a3001fe8091168bf.tar.gz
gentoo-b7fa38898fcb43f810130bc5a3001fe8091168bf.tar.bz2
gentoo-b7fa38898fcb43f810130bc5a3001fe8091168bf.zip
app-emulation/libguestfs: needs bison+flex
Bug: https://bugs.gentoo.org/915339 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/libguestfs')
-rw-r--r--app-emulation/libguestfs/libguestfs-1.48.6.ebuild17
1 files changed, 12 insertions, 5 deletions
diff --git a/app-emulation/libguestfs/libguestfs-1.48.6.ebuild b/app-emulation/libguestfs/libguestfs-1.48.6.ebuild
index 11b39fa23a18..f6b4f9fd63e2 100644
--- a/app-emulation/libguestfs/libguestfs-1.48.6.ebuild
+++ b/app-emulation/libguestfs/libguestfs-1.48.6.ebuild
@@ -6,7 +6,7 @@ EAPI=8
# Bump with app-emulation/guestfs-tools and app-emulation/libguestfs-appliance (if any new release there)
LUA_COMPAT=( lua5-1 )
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit autotools flag-o-matic linux-info lua-single perl-functions python-single-r1 strip-linguas toolchain-funcs
@@ -24,8 +24,10 @@ KEYWORDS="amd64 ~x86"
IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua +ocaml +perl python ruby selinux static-libs systemtap test"
RESTRICT="!test? ( test )"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
- python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="
+ lua? ( ${LUA_REQUIRED_USE} )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
# Failures - doc
COMMON_DEPEND="
@@ -92,7 +94,8 @@ COMMON_DEPEND="
"
# Some OCaml is always required
# bug #729674
-DEPEND="${COMMON_DEPEND}
+DEPEND="
+ ${COMMON_DEPEND}
>=dev-lang/ocaml-4.03:=[ocamlopt]
dev-util/gperf
dev-ml/findlib[ocamlopt]
@@ -107,7 +110,8 @@ DEPEND="${COMMON_DEPEND}
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
test? ( introspection? ( dev-libs/gjs ) )
"
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="
+ ${COMMON_DEPEND}
app-emulation/libguestfs-appliance
acct-group/kvm
"
@@ -144,6 +148,9 @@ src_configure() {
# bug #794877
tc-export AR
+ # Needs both bison+flex (bug #915339, see configure too)
+ unset LEX YACC
+
# Skip Bash test
# (See 13-test-suite.log in linked bug)
# bug #794874