commit:     2d55f94767c7b0747b390b9f681167ba68d8f752
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 30 09:18:42 2019 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Wed Oct 30 09:18:42 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2d55f947

sci-chemistry/relion: Set build type to release

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/relion/relion-3.0.8.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sci-chemistry/relion/relion-3.0.8.ebuild 
b/sci-chemistry/relion/relion-3.0.8.ebuild
index 2f88a8ef9..178b8249c 100644
--- a/sci-chemistry/relion/relion-3.0.8.ebuild
+++ b/sci-chemistry/relion/relion-3.0.8.ebuild
@@ -29,13 +29,8 @@ RDEPEND="
 "
 BDEPEND="${DEPEND}"
 
-src_prepare() {
-       # hack build type =D
-       sed 's:release:gentoo:g' -i CMakeLists.txt
-       cmake-utils_src_prepare
-}
-
 src_configure() {
+       CMAKE_BUILD_TYPE=Release
        mycmakeargs=(
                -DBUILD_SHARED_LIBS=ON
                -DALTCPU=$(usex !cuda)

Reply via email to