From: Andreas Sturmlechner Date: Sun, 16 Jun 2019 18:21:01 +0000 (+0200) Subject: sys-fs/cryfs: Add linux-info for CONFIG_FUSE_FS check X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdb9958212931adc465934e7694a855f117ec525;p=gentoo.git 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 --- 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