X-Git-Url: http://git.overlays.gentoo.org/gitweb/?p=proj%2Fgentoo-bsd.git;a=blobdiff_plain;f=sys-boot%2Fgrub%2Fgrub-2.00-r1.ebuild;h=de01cdc3fc1bb3ad6fc431af18d09d4549fef412;hp=15eee11c801051ce25f9cd3a37516194d1553bb5;hb=5d4f2833066cb099c5c80cb4baf0f482a7f672e0;hpb=9d866a8d7006140d7ebb06f4449c5fc7541cbf0d diff --git a/sys-boot/grub/grub-2.00-r1.ebuild b/sys-boot/grub/grub-2.00-r1.ebuild index 15eee11..de01cdc 100644 --- a/sys-boot/grub/grub-2.00-r1.ebuild +++ b/sys-boot/grub/grub-2.00-r1.ebuild @@ -139,6 +139,8 @@ grub_src_configure() { # Used below for efi cross-building tc-export CC NM OBJCOPY STRIP + use elibc_FreeBSD && append-cppflags "-isystem /usr/include" + estack_push CTARGET "${CTARGET}" estack_push TARGET_CC "${TARGET_CC}" estack_push TARGET_CFLAGS "${TARGET_CFLAGS}" @@ -234,6 +236,10 @@ src_prepare() { epatch "${FILESDIR}/${P}-config-quoting.patch" #426364 epatch "${FILESDIR}/${P}-tftp-endian.patch" # 438612 epatch "${FILESDIR}/${P}-hardcoded-awk.patch" #424137 + if use elibc_FreeBSD ; then + epatch "${FILESDIR}/${P}-fbsd.patch" + epatch "${FILESDIR}/${P}-fbsd91-boot.patch" + fi fi # fix texinfo file name, bug 416035