From: David Seifert Date: Mon, 16 Oct 2017 02:59:54 +0000 (-0700) Subject: sci-libs/itpp: [QA] Add cmake-utils_src_prepare X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c40e30cd6754fa448fa1017a3d81edcd8b74177e;p=gentoo.git sci-libs/itpp: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- diff --git a/sci-libs/itpp/itpp-4.3.1-r1.ebuild b/sci-libs/itpp/itpp-4.3.1-r1.ebuild index dab233c0d4cd..3abddec3041b 100644 --- a/sci-libs/itpp/itpp-4.3.1-r1.ebuild +++ b/sci-libs/itpp/itpp-4.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,9 +22,11 @@ DEPEND="${RDEPEND} virtual/pkgconfig doc? ( app-doc/doxygen virtual/latex-base )" -DOCS=(ChangeLog NEWS AUTHORS README) +DOCS=( ChangeLog NEWS AUTHORS README ) src_prepare() { + cmake-utils_src_prepare + # gentoo redefines the CMAKE_BUILD_TYPE sed -i \ -e 's/CMAKE_BUILD_TYPE STREQUAL Release/NOT CMAKE_BUILD_TYPE STREQUAL Debug/' \