commit:     1dc6515a6733176bf0cfb95c86d4b1dd5bd36521
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  7 01:14:23 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 01:14:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dc6515a

mail-client/thunderbird: fix removal of *-LTO-Only-enable-LTO-*.patch

Patch shouldn't be applied when USE=lto is set.

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-client/thunderbird/thunderbird-78.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-client/thunderbird/thunderbird-78.3.2.ebuild 
b/mail-client/thunderbird/thunderbird-78.3.2.ebuild
index bcc898d7938..16eb8f0cf1c 100644
--- a/mail-client/thunderbird/thunderbird-78.3.2.ebuild
+++ b/mail-client/thunderbird/thunderbird-78.3.2.ebuild
@@ -434,7 +434,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       use pgo && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
+       use lto && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
        eapply "${WORKDIR}/firefox-patches"
 
        # Allow user to apply any additional patches without modifing ebuild

Reply via email to