app-crypt/gpgme: do not use ${T} in global scope
authorAlon Bar-Lev <alonbl@gentoo.org>
Tue, 11 Oct 2016 08:35:55 +0000 (11:35 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Tue, 11 Oct 2016 08:35:55 +0000 (11:35 +0300)
Package-Manager: portage-2.3.0

app-crypt/gpgme/gpgme-1.7.0.ebuild

index fc043021a35241d73986e06b0b3ff3fc5baa5072..16eaa6e41447d2a7d844cca9cf87e1d1c5fb7b00 100644 (file)
@@ -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