commit:     7d9504e58ffc04ce3d25892a39b2c414d31a0e3a
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 20:28:59 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 20:43:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9504e5

sys-fs/zfs: update live ebuild, fix static-libs

static-libs useflag was a no-op since migration to EAPI=7, fix it

Bug: https://bugs.gentoo.org/692196
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-fs/zfs/zfs-9999.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index fdb0ed3deb3..33c2826938c 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -25,10 +25,11 @@ IUSE="custom-cflags debug kernel-builtin python +rootfs 
test-suite static-libs"
 
 COMMON_DEPEND="
        ${PYTHON_DEPS}
-       net-libs/libtirpc
+       net-libs/libtirpc[static-libs?]
        sys-apps/util-linux[static-libs?]
        sys-libs/zlib[static-libs(+)?]
        virtual/awk
+       virtual/libudev[static-libs?]
        python? (
                virtual/python-cffi[${PYTHON_USEDEP}]
        )
@@ -123,6 +124,7 @@ src_configure() {
 
        local myconf=(
                --bindir="${EPREFIX}/bin"
+               --enable-shared
                --enable-systemd
                --enable-sysvinit
                --localstatedir="${EPREFIX}/var"
@@ -136,6 +138,7 @@ src_configure() {
                --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset"
                $(use_enable debug)
                $(use_enable python pyzfs)
+               $(use_enable static-libs static)
        )
 
        econf "${myconf[@]}"

Reply via email to