summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-16 19:55:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-16 23:57:04 +0200
commita5ee2ff0859c29312d43d35fa2386fda8c3ca8f6 (patch)
treee4dd04d1fa5217f2e9a2c9c07f5c4d4235e7d189 /sys-fs/cryfs
parentprofiles: Mask =sys-fs/cryfs-0.10*, requires boost-1.70 (diff)
downloadgentoo-a5ee2ff0859c29312d43d35fa2386fda8c3ca8f6.tar.gz
gentoo-a5ee2ff0859c29312d43d35fa2386fda8c3ca8f6.tar.bz2
gentoo-a5ee2ff0859c29312d43d35fa2386fda8c3ca8f6.zip
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@gentoo.org>
Diffstat (limited to 'sys-fs/cryfs')
-rw-r--r--sys-fs/cryfs/cryfs-9999.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys-fs/cryfs/cryfs-9999.ebuild b/sys-fs/cryfs/cryfs-9999.ebuild
index 12a15789f0d6..0162f8ddc282 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() {