sys-boot/refind: revbump, disable build with PIE
authorSam Jorna <wraeth@gentoo.org>
Wed, 14 Dec 2016 02:25:54 +0000 (13:25 +1100)
committerSam Jorna <wraeth@gentoo.org>
Wed, 14 Dec 2016 22:28:28 +0000 (09:28 +1100)
Gentoo-bug: 598647
Acked-by: Stéphane Veyret <sveyret@gmail.com>
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-boot/refind/refind-0.10.4-r2.ebuild [moved from sys-boot/refind/refind-0.10.4-r1.ebuild with 98% similarity]

similarity index 98%
rename from sys-boot/refind/refind-0.10.4-r1.ebuild
rename to sys-boot/refind/refind-0.10.4-r2.ebuild
index af45a9990a423cc0cedd1935e9890803f197f285..b4277644b17a9db7551f80609b80d074992481f3 100644 (file)
@@ -54,6 +54,10 @@ pkg_setup() {
 
 src_prepare() {
        default
+
+       # bug 598647 - PIE not supported
+       sed -e 's:CFLAGS          =:& -fno-PIE:' -i "${S}/Make.common" || die
+
        local f
        for f in "${S}"/*/Make.tiano "${S}"/Make.common; do
                sed -i -e 's/^\(include .*target.txt.*\)$/#\1/' \