commit:     23d40e5fa7f65fd2b80ade40ab1258eff35a6e27
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:35:55 2016 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 08:35:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d40e5f

app-crypt/gpgme: do not use ${T} in global scope

Package-Manager: portage-2.3.0

 app-crypt/gpgme/gpgme-1.7.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-crypt/gpgme/gpgme-1.7.0.ebuild 
b/app-crypt/gpgme/gpgme-1.7.0.ebuild
index fc04302..16eaa6e 100644
--- a/app-crypt/gpgme/gpgme-1.7.0.ebuild
+++ b/app-crypt/gpgme/gpgme-1.7.0.ebuild
@@ -42,7 +42,6 @@ PATCHES=(
        "${FILESDIR}"/${P}-build-tests.patch
        "${FILESDIR}"/${P}-build-tests-disable.patch
        "${FILESDIR}"/${P}-build-python.patch
-       "${T}"/${P}-build-32bit.patch
 )
 
 do_python() {
@@ -55,6 +54,9 @@ do_python() {
 
 src_prepare() {
        sed -e '/a\/lang\/cpp\/src\/context_glib.cpp/,+30d' 
"${DISTDIR}/gpgme-1.7.0-build-32bit.patch" > 
"${T}/gpgme-1.7.0-build-32bit.patch"
+       PATCHES+=(
+               "${T}"/${P}-build-32bit.patch
+       )
        default
        eautoreconf
        do_python

Reply via email to