From: Michał Górny Date: Sat, 10 Dec 2016 16:34:09 +0000 (+0100) Subject: media-libs/opencv: Kill redundant 'emake clean' - fix ninja, #602232 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b11a2969d70e10f2d44c6d6f264a6d8df19fcb9c;p=gentoo.git media-libs/opencv: Kill redundant 'emake clean' - fix ninja, #602232 Kill the call to 'emake clean' for Python build directory which obviously does not work when Ninja is used instead of Makefiles. It is completely redundant since it is followed by 'rm -rf' of the whole directory (tested with Makefiles and Ninja). --- diff --git a/media-libs/opencv/opencv-3.1.0-r7.ebuild b/media-libs/opencv/opencv-3.1.0-r7.ebuild index f8747c57aac9..26371e1a6ed5 100644 --- a/media-libs/opencv/opencv-3.1.0-r7.ebuild +++ b/media-libs/opencv/opencv-3.1.0-r7.ebuild @@ -279,7 +279,6 @@ python_module_compile() { # Remove compiled binary so new version compiles # Avoid conflicts with new module builds as build system doesn't # really support it. - emake -C modules/python2 clean rm -rf modules/python2 || die "rm failed" }