commit:     d0b3e0b69b6c6c80ceff982ca8271b0f423cea16
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 09:24:18 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 09:41:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0b3e0b6

sci-libs/vtk: *Only* run cmake-utils_src_prepare in src_prepare

Because default was invoked as well, patches were applied twice...

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/vtk/vtk-8.2.0.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sci-libs/vtk/vtk-8.2.0.ebuild b/sci-libs/vtk/vtk-8.2.0.ebuild
index 0538637cc2a..5a99e739fdd 100644
--- a/sci-libs/vtk/vtk-8.2.0.ebuild
+++ b/sci-libs/vtk/vtk-8.2.0.ebuild
@@ -138,7 +138,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-       default
+       cmake-utils_src_prepare
 
        local x
        # missing: VPIC freerange libproj4 mrmpi sqlite utf8 verdict xmdf2 xmdf3
@@ -154,8 +154,6 @@ src_prepare() {
                sed -e "s|\${VTK_BINARY_DIR}/Utilities/Doxygen/doc|${WORKDIR}|" 
\
                        -i Utilities/Doxygen/CMakeLists.txt || die
        fi
-
-       cmake-utils_src_prepare
 }
 
 src_configure() {

Reply via email to