From 2febfbb0a752f8863988fbf64e015fd2485dd4aa Mon Sep 17 00:00:00 2001
From: 0xd34df00d <0xd34df00d@gmail.com>
Date: Sun, 28 May 2017 20:34:49 +0200
Subject: [PATCH] app-leechcraft/lc-secman: add a USE flag for the contents
display
Closes: https://github.com/gentoo/gentoo/pull/4791
---
app-leechcraft/lc-secman/lc-secman-9999.ebuild | 3 ++-
app-leechcraft/lc-secman/metadata.xml | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/app-leechcraft/lc-secman/lc-secman-9999.ebuild b/app-leechcraft/lc-secman/lc-secman-9999.ebuild
index b7ee29e4e596a..79aea9e550a60 100644
--- a/app-leechcraft/lc-secman/lc-secman-9999.ebuild
+++ b/app-leechcraft/lc-secman/lc-secman-9999.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Security and personal data manager for LeechCraft"
SLOT="0"
KEYWORDS=""
-IUSE="debug crypt"
+IUSE="debug crypt exposecontents"
DEPEND="~app-leechcraft/lc-core-${PV}
crypt? ( dev-libs/openssl:0 )
@@ -20,6 +20,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DENABLE_SECMAN_SECURESTORAGE=$(usex crypt)
+ -DWITH_SECMAN_EXPOSE_CONTENTSDISPLAY=$(usex exposecontents)
)
cmake-utils_src_configure
diff --git a/app-leechcraft/lc-secman/metadata.xml b/app-leechcraft/lc-secman/metadata.xml
index ef43617d9e97c..c5747e4376da4 100644
--- a/app-leechcraft/lc-secman/metadata.xml
+++ b/app-leechcraft/lc-secman/metadata.xml
@@ -9,4 +9,7 @@
proxy-maint@gentoo.org
Proxy Maintainers
+