From cdb9958212931adc465934e7694a855f117ec525 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 16 Jun 2019 20:21:01 +0200 Subject: [PATCH] sys-fs/cryfs: Add linux-info for CONFIG_FUSE_FS check Thanks-to: Yury Martynov Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas Sturmlechner --- sys-fs/cryfs/cryfs-9999.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.26.2