app-emulation/libvirt: init submodules for live ebuild
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 10 Jan 2019 10:16:41 +0000 (11:16 +0100)
committerDoug Goldstein <cardoe@gentoo.org>
Thu, 10 Jan 2019 15:13:25 +0000 (09:13 -0600)
Libvirt updated gnulib which now requires git submodules to be
initialized prior running bootstrap.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
app-emulation/libvirt/libvirt-9999.ebuild

index 6ecf1140a71f9a070093c95244b8f324bb24d740..c8b391fe438988a786c0bc9267ed072288620a57 100644 (file)
@@ -218,6 +218,8 @@ src_prepare() {
        default
 
        if [[ ${PV} = *9999* ]]; then
+               # Reinitialize submodules as this is required for gnulib's bootstrap
+               git submodule init
                # git checkouts require bootstrapping to create the configure script.
                # Additionally the submodules must be cloned to the right locations
                # bug #377279