Lines 1-6
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2013 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00-r2.ebuild,v 1.3 2013/02/04 17:29:22 ryao Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00-r1.ebuild,v 1.8 2013/01/19 03:05:28 mattst88 Exp $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=4 |
6 |
|
6 |
|
Lines 46-52
Link Here
|
46 |
) |
46 |
) |
47 |
IUSE+=" ${GRUB_PLATFORMS[@]/#/grub_platforms_}" |
47 |
IUSE+=" ${GRUB_PLATFORMS[@]/#/grub_platforms_}" |
48 |
|
48 |
|
49 |
REQUIRED_USE="grub_platforms_qemu? ( truetype )" |
49 |
REQUIRED_USE="grub_platforms_qemu? ( truetype ) |
|
|
50 |
grub_platforms_yeeloong? ( truetype )" |
50 |
|
51 |
|
51 |
# os-prober: Used on runtime to detect other OSes |
52 |
# os-prober: Used on runtime to detect other OSes |
52 |
# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue |
53 |
# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue |
Lines 82-93
Link Here
|
82 |
) |
83 |
) |
83 |
" |
84 |
" |
84 |
RDEPEND+=" |
85 |
RDEPEND+=" |
85 |
grub_platforms_efi-32? ( sys-boot/efibootmgr ) |
86 |
kernel_linux? ( |
86 |
grub_platforms_efi-64? ( sys-boot/efibootmgr ) |
87 |
grub_platforms_efi-32? ( sys-boot/efibootmgr ) |
|
|
88 |
grub_platforms_efi-64? ( sys-boot/efibootmgr ) |
89 |
) |
87 |
" |
90 |
" |
88 |
if [[ -n ${DO_AUTORECONF} ]] ; then |
91 |
if [[ -n ${DO_AUTORECONF} ]] ; then |
89 |
DEPEND+=" >=sys-devel/autogen-5.10" |
92 |
DEPEND+=" >=sys-devel/autogen-5.10" |
90 |
else |
93 |
fi |
|
|
94 |
if [[ ${PV} != 9999 ]]; then |
91 |
DEPEND+=" app-arch/xz-utils" |
95 |
DEPEND+=" app-arch/xz-utils" |
92 |
fi |
96 |
fi |
93 |
|
97 |
|
Lines 234-239
Link Here
|
234 |
epatch "${FILESDIR}/${P}-config-quoting.patch" #426364 |
238 |
epatch "${FILESDIR}/${P}-config-quoting.patch" #426364 |
235 |
epatch "${FILESDIR}/${P}-tftp-endian.patch" # 438612 |
239 |
epatch "${FILESDIR}/${P}-tftp-endian.patch" # 438612 |
236 |
epatch "${FILESDIR}/${P}-hardcoded-awk.patch" #424137 |
240 |
epatch "${FILESDIR}/${P}-hardcoded-awk.patch" #424137 |
|
|
241 |
epatch "${FILESDIR}/${P}-freebsd.patch" #442050 |
242 |
epatch "${FILESDIR}/${P}-compression.patch" #424527 |
237 |
epatch "${FILESDIR}/${P}-zfs-feature-flag-support.patch" #455358 |
243 |
epatch "${FILESDIR}/${P}-zfs-feature-flag-support.patch" #455358 |
238 |
fi |
244 |
fi |
239 |
|
245 |
|
Lines 274-279
Link Here
|
274 |
|
280 |
|
275 |
use custom-cflags || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS |
281 |
use custom-cflags || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS |
276 |
use static && append-ldflags -static |
282 |
use static && append-ldflags -static |
|
|
283 |
use elibc_FreeBSD && append-cppflags "-isystem /usr/include" |
277 |
|
284 |
|
278 |
# Sandbox bug 404013. |
285 |
# Sandbox bug 404013. |
279 |
use libzfs && addpredict /etc/dfs:/dev/zfs |
286 |
use libzfs && addpredict /etc/dfs:/dev/zfs |