commit:     35f729e094640deb8bc7d0cb5662bbb3b1d2a851
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  4 09:55:17 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  4 09:56:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f729e0

media-gfx/gmic: Use src_prepare from 2.7.2 again

cmake.eclass was fixed instead, until a better solution is found.

Closes: https://bugs.gentoo.org/704758
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/gmic/gmic-2.8.1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-gfx/gmic/gmic-2.8.1.ebuild b/media-gfx/gmic/gmic-2.8.1.ebuild
index 1d3205fc5a2..4c6884de786 100644
--- a/media-gfx/gmic/gmic-2.8.1.ebuild
+++ b/media-gfx/gmic/gmic-2.8.1.ebuild
@@ -85,12 +85,10 @@ src_prepare() {
        if use gimp || use krita || use qt5; then
                # respect user flags
                sed -i '/CMAKE_CXX_FLAGS_RELEASE/d' gmic-qt/CMakeLists.txt || 
die
-
+               local S="${S}/gmic-qt"
                # fix linking with fftw when thread support is enabled
-               pushd "${S}"/gmic-qt > /dev/null || die
                PATCHES=( "${FILESDIR}"/${PN}-2.7.1-qt-cmake.patch )
                cmake_src_prepare
-               popd > /dev/null || die
        fi
 }
 

Reply via email to