summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-16 20:21:01 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-16 23:57:06 +0200
commitcdb9958212931adc465934e7694a855f117ec525 (patch)
treecde9d3d0f7f0a65873497c43d859727959669071 /sys-fs/cryfs
parentsys-fs/cryfs: EAPI-7 bump, python3_7 (diff)
downloadgentoo-cdb9958212931adc465934e7694a855f117ec525.tar.gz
gentoo-cdb9958212931adc465934e7694a855f117ec525.tar.bz2
gentoo-cdb9958212931adc465934e7694a855f117ec525.zip
sys-fs/cryfs: Add linux-info for CONFIG_FUSE_FS check
Thanks-to: Yury Martynov <email@linxon.ru> 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.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-fs/cryfs/cryfs-9999.ebuild b/sys-fs/cryfs/cryfs-9999.ebuild
index 81dc60b0bcda..d401918aecc4 100644
--- a/sys-fs/cryfs/cryfs-9999.ebuild
+++ b/sys-fs/cryfs/cryfs-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit cmake-utils flag-o-matic python-any-r1
+inherit cmake-utils flag-o-matic linux-info python-any-r1
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
@@ -37,6 +37,13 @@ DEPEND="${RDEPEND}
${PYTHON_DEPS}
"
+pkg_setup() {
+ local CONFIG_CHECK="~FUSE_FS"
+ local WARNING_FUSE_FS="CONFIG_FUSE_FS is required for cryfs support."
+
+ check_extra_config
+}
+
src_prepare() {
cmake-utils_src_prepare