sys-fs/zfs: update live ebuild, fix static-libs
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 17 Aug 2019 20:28:59 +0000 (13:28 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 17 Aug 2019 20:43:14 +0000 (13:43 -0700)
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@gentoo.org>
sys-fs/zfs/zfs-9999.ebuild

index fdb0ed3deb3f95cfb1dcd201e260bd822ce6be3d..33c2826938c891c8c7033af786f55c93e0440035 100644 (file)
@@ -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[@]}"