commit:     1c2650e3424d6676a346aa7abdfea67ff24fce0b
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 21 04:20:12 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 04:20:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2650e3

sys-boot/grub: drop multislot USE flag

Package-Manager: Portage-2.3.62, Repoman-2.3.12_p83
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-boot/grub/grub-9999.ebuild | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
index dea453ed94f..22f563f6114 100644
--- a/sys-boot/grub/grub-9999.ebuild
+++ b/sys-boot/grub/grub-9999.ebuild
@@ -52,7 +52,7 @@ HOMEPAGE="https://www.gnu.org/software/grub/";
 # Includes licenses for dejavu and unifont
 LICENSE="GPL-3 fonts? ( GPL-2-with-font-exception ) themes? ( BitstreamVera )"
 SLOT="2/${PVR}"
-IUSE="debug device-mapper doc efiemu +fonts mount multislot nls static sdl 
test +themes truetype libzfs"
+IUSE="debug device-mapper doc efiemu +fonts mount nls static sdl test +themes 
truetype libzfs"
 
 GRUB_ALL_PLATFORMS=( coreboot efi-32 efi-64 emu ieee1275 loongson multiboot 
qemu qemu-mips pc uboot xen xen-32 )
 IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}"
@@ -123,7 +123,7 @@ RDEPEND="${COMMON_DEPEND}
                grub_platforms_efi-32? ( sys-boot/efibootmgr )
                grub_platforms_efi-64? ( sys-boot/efibootmgr )
        )
-       !multislot? ( !sys-boot/grub:0 !sys-boot/grub-static )
+       !sys-boot/grub:0 !sys-boot/grub-static
        nls? ( sys-devel/gettext )
 "
 
@@ -150,11 +150,6 @@ src_prepare() {
 
        sed -i -e /autoreconf/d autogen.sh || die
 
-       if use multislot; then
-               # fix texinfo file name, bug 416035
-               sed -i -e 's/^\* GRUB:/* GRUB2:/' -e 's/(grub)/(grub2)/' 
docs/grub.texi || die
-       fi
-
        # Nothing in Gentoo packages 'american-english' in the exact path
        # wanted for the test, but all that is needed is a compressible text
        # file, and we do have 'words' from miscfiles in the same path.
@@ -229,10 +224,6 @@ grub_configure() {
                $(usex efiemu '' '--disable-efiemu')
        )
 
-       if use multislot; then
-               myeconfargs+=( --program-transform-name="s,grub,grub2," )
-       fi
-
        # Set up font symlinks
        ln -s "${WORKDIR}/${UNIFONT}.pcf" unifont.pcf || die
        if use themes; then
@@ -292,10 +283,6 @@ src_install() {
 
        einstalldocs
 
-       if use multislot; then
-               mv "${ED}"/usr/share/info/grub{,2}.info || die
-       fi
-
        insinto /etc/default
        newins "${FILESDIR}"/grub.default-3 grub
 }

Reply via email to