summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/refind/refind-0.10.7-r1.ebuild')
-rw-r--r--sys-boot/refind/refind-0.10.7-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-boot/refind/refind-0.10.7-r1.ebuild b/sys-boot/refind/refind-0.10.7-r1.ebuild
index a17a793c16f0..7bbeb09e4d46 100644
--- a/sys-boot/refind/refind-0.10.7-r1.ebuild
+++ b/sys-boot/refind/refind-0.10.7-r1.ebuild
@@ -8,7 +8,8 @@ inherit toolchain-funcs flag-o-matic versionator
DESCRIPTION="The rEFInd UEFI Boot Manager by Rod Smith"
HOMEPAGE="http://www.rodsbooks.com/refind/"
-SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${PN}-src-${PV}.tar.gz"
+SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${PN}-src-${PV}.tar.gz
+ gnuefi? ( https://dev.gentoo.org/~wraeth/distfiles/${P}-fix_build_gnuefi-3.0.5.patch.xz )"
LICENSE="BSD GPL-2 GPL-3 FDL-1.3"
SLOT="0"
@@ -55,7 +56,7 @@ src_prepare() {
default
# bug 616668 - build fails against gnu-efi-3.0.5
- eapply "${FILESDIR}"/"${P}"-fix_build_gnuefi-3.0.5.patch
+ use gnuefi && eapply "${WORKDIR}"/"${P}"-fix_build_gnuefi-3.0.5.patch
# bug 598647 - PIE not supported
sed -e 's:CFLAGS =:& -fno-PIE:' -i "${S}/Make.common" || die