commit:     055efdba6f794cd3181aec537e52c72a874a4c70
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 16 22:15:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 18 22:50:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=055efdba

app-emulation/libguestfs: enable OCaml by default for tools

Needed for some common/popular tools.

Closes: https://bugs.gentoo.org/789354
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emulation/libguestfs/libguestfs-1.38.6-r103.ebuild | 6 ++++--
 app-emulation/libguestfs/libguestfs-1.44.1.ebuild      | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-emulation/libguestfs/libguestfs-1.38.6-r103.ebuild 
b/app-emulation/libguestfs/libguestfs-1.38.6-r103.ebuild
index 94ccee694c3..13ce7ab088a 100644
--- a/app-emulation/libguestfs/libguestfs-1.38.6-r103.ebuild
+++ b/app-emulation/libguestfs/libguestfs-1.38.6-r103.ebuild
@@ -20,7 +20,7 @@ LICENSE="GPL-2 LGPL-2"
 SLOT="0/"${MY_PV_1}""
 
 KEYWORDS="~amd64"
-IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua ocaml +perl 
python ruby selinux static-libs systemtap test"
+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} )
@@ -180,9 +180,11 @@ pkg_postinst() {
        if ! use gtk ; then
                einfo "virt-p2v NOT installed"
        fi
+
        if ! use ocaml ; then
-               einfo "Ocaml based tools and bindings (sysprep, ...) NOT 
installed"
+               einfo "OCaml based tools and bindings (virt-resize, 
virt-sparsify, virt-sysprep, ...) NOT installed"
        fi
+
        if ! use perl ; then
                einfo "Perl based tools NOT build"
        fi

diff --git a/app-emulation/libguestfs/libguestfs-1.44.1.ebuild 
b/app-emulation/libguestfs/libguestfs-1.44.1.ebuild
index 08c3774a093..a82e43a0ab0 100644
--- a/app-emulation/libguestfs/libguestfs-1.44.1.ebuild
+++ b/app-emulation/libguestfs/libguestfs-1.44.1.ebuild
@@ -20,7 +20,7 @@ LICENSE="GPL-2 LGPL-2"
 SLOT="0/${MY_PV_1}"
 
 KEYWORDS="~amd64"
-IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua ocaml +perl 
python ruby selinux static-libs systemtap test"
+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} )
@@ -204,7 +204,7 @@ pkg_postinst() {
        fi
 
        if ! use ocaml ; then
-               einfo "OCaml based tools and bindings (sysprep, ...) NOT 
installed"
+               einfo "OCaml based tools and bindings (virt-resize, 
virt-sparsify, virt-sysprep, ...) NOT installed"
        fi
 
        if ! use perl ; then

Reply via email to