sys-fs/zfs: fix automagic ssl dependency
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 17 Aug 2019 20:42:30 +0000 (13:42 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 17 Aug 2019 20:43:15 +0000 (13:43 -0700)
Bug: https://bugs.gentoo.org/692332
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
sys-fs/zfs/zfs-9999.ebuild

index 33c2826938c891c8c7033af786f55c93e0440035..b0b23dadff9efb7c3585686da78db1e69880cd51 100644 (file)
@@ -21,7 +21,7 @@ fi
 
 LICENSE="BSD-2 CDDL MIT"
 SLOT="0"
-IUSE="custom-cflags debug kernel-builtin python +rootfs test-suite static-libs"
+IUSE="custom-cflags debug kernel-builtin libressl python +rootfs test-suite static-libs"
 
 COMMON_DEPEND="
        ${PYTHON_DEPS}
@@ -30,6 +30,8 @@ COMMON_DEPEND="
        sys-libs/zlib[static-libs(+)?]
        virtual/awk
        virtual/libudev[static-libs?]
+       libressl? ( dev-libs/libressl:0=[static-libs?] )
+       !libressl? ( dev-libs/openssl:0=[static-libs?] )
        python? (
                virtual/python-cffi[${PYTHON_USEDEP}]
        )