sys-fs/cryfs: Add linux-info for CONFIG_FUSE_FS check
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Jun 2019 18:21:01 +0000 (20:21 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Jun 2019 21:57:06 +0000 (23:57 +0200)
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>
sys-fs/cryfs/cryfs-9999.ebuild

index 81dc60b0bcda583e2debb86c21258322a4525b53..d401918aecc4dcb5d34fa2948982386f32d7fbe6 100644 (file)
@@ -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