diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-11-06 21:16:13 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-11-06 21:25:27 +0100 |
commit | 7c5da76e715616d593aaa8c593660e7b75be77cd (patch) | |
tree | 9be7cae1c047dc7a35ad0716a4b93ac5c900265a /media-gfx/gmic | |
parent | sys-apps/ipmitool: Stabilize 1.8.18_p20201004-r1 amd64, #708436 (diff) | |
download | gentoo-7c5da76e715616d593aaa8c593660e7b75be77cd.tar.gz gentoo-7c5da76e715616d593aaa8c593660e7b75be77cd.tar.bz2 gentoo-7c5da76e715616d593aaa8c593660e7b75be77cd.zip |
media-gfx/gmic: make sure patches only get applied once
For certain USE flags, the ebuild calls cmake_src_prepare for the second
time in another source directory. This causes emerge to attempt to apply
all the patches listed in PATCHES again, in the wrong place. Make sure
PATCHES is empty when cmake_src_prepare is called for the second time.
Closes: https://bugs.gentoo.org/753377
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-gfx/gmic')
-rw-r--r-- | media-gfx/gmic/gmic-2.9.2.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media-gfx/gmic/gmic-2.9.2.ebuild b/media-gfx/gmic/gmic-2.9.2.ebuild index 260962b2dc10..51708f537aa3 100644 --- a/media-gfx/gmic/gmic-2.9.2.ebuild +++ b/media-gfx/gmic/gmic-2.9.2.ebuild @@ -96,6 +96,8 @@ src_prepare() { -e '/${CMAKE_EXE_LINKER_FLAGS} -s/d' \ -i gmic-qt/CMakeLists.txt || die local S="${S}/gmic-qt" + # Bug #753377 + local PATCHES=() cmake_src_prepare fi } |