Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308385
Collapse All | Expand All

(-)/usr/portage/sys-boot/grub/grub-1.98.ebuild (-2 / +9 lines)
Lines 21-27 Link Here
21
LICENSE="GPL-3"
21
LICENSE="GPL-3"
22
use multislot && SLOT="2" || SLOT="0"
22
use multislot && SLOT="2" || SLOT="0"
23
KEYWORDS=""
23
KEYWORDS=""
24
IUSE="custom-cflags debug truetype multislot static"
24
IUSE="custom-cflags debug truetype multislot static efi"
25
25
26
RDEPEND=">=sys-libs/ncurses-5.2-r5
26
RDEPEND=">=sys-libs/ncurses-5.2-r5
27
	dev-libs/lzo
27
	dev-libs/lzo
Lines 58-63 Link Here
58
	use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
58
	use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
59
	use static && append-ldflags -static
59
	use static && append-ldflags -static
60
60
61
	if use efi; then
62
		PLATFORM="--with-platform=efi"
63
	else
64
		PLATFORM=""
65
	fi
66
61
	econf \
67
	econf \
62
		--disable-werror \
68
		--disable-werror \
63
		--sbindir=/sbin \
69
		--sbindir=/sbin \
Lines 67-73 Link Here
67
		$(use_enable truetype grub-mkfont) \
73
		$(use_enable truetype grub-mkfont) \
68
		$(use_enable debug mm-debug) \
74
		$(use_enable debug mm-debug) \
69
		$(use_enable debug grub-emu-usb) \
75
		$(use_enable debug grub-emu-usb) \
70
		$(use_enable debug grub-fstest)
76
		$(use_enable debug grub-fstest) \
77
		${PLATFORM}
71
	emake -j1 || die "making regular stuff"
78
	emake -j1 || die "making regular stuff"
72
}
79
}
73
80

Return to bug 308385