commit:     a5ee2ff0859c29312d43d35fa2386fda8c3ca8f6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 17:55:07 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 21:57:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ee2ff0

sys-fs/cryfs: Add USE debug

cmake-utils.eclass will add -DNDEBUG which makes one sed obsolete.

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

 sys-fs/cryfs/cryfs-9999.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys-fs/cryfs/cryfs-9999.ebuild b/sys-fs/cryfs/cryfs-9999.ebuild
index 12a15789f0d..0162f8ddc28 100644
--- a/sys-fs/cryfs/cryfs-9999.ebuild
+++ b/sys-fs/cryfs/cryfs-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ DESCRIPTION="Encrypted FUSE filesystem that conceals metadata"
 HOMEPAGE="https://www.cryfs.org/";
 
 SLOT=0
-IUSE="custom-optimization libressl test update-check"
+IUSE="custom-optimization debug libressl test update-check"
 
 LICENSE="LGPL-3 BSD-2 MIT"
 # cryfs - LGPL-3
@@ -40,10 +40,8 @@ src_prepare() {
        cmake-utils_src_prepare
 
        # remove tests that require internet access to comply with Gentoo policy
-       sed -i -e '/CurlHttpClientTest.cpp/d' -e '/FakeHttpClientTest.cpp/d' 
test/cpp-utils/CMakeLists.txt || die
-
-       # remove non-applicable warning
-       sed -i -e '/WARNING! This is a debug build. Performance might be 
slow./d' src/cryfs-cli/Cli.cpp || die
+       sed -e "/CurlHttpClientTest.cpp/d" -e "/FakeHttpClientTest.cpp/d" \
+               -i test/cpp-utils/CMakeLists.txt || die
 }
 
 src_configure() {

Reply via email to