Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
Date: Sat, 17 Aug 2019 20:44:09
Message-Id: 1566074594.7d9504e58ffc04ce3d25892a39b2c414d31a0e3a.gyakovlev@gentoo
1 commit: 7d9504e58ffc04ce3d25892a39b2c414d31a0e3a
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 17 20:28:59 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 17 20:43:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9504e5
7
8 sys-fs/zfs: update live ebuild, fix static-libs
9
10 static-libs useflag was a no-op since migration to EAPI=7, fix it
11
12 Bug: https://bugs.gentoo.org/692196
13 Package-Manager: Portage-2.3.71, Repoman-2.3.17
14 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
15
16 sys-fs/zfs/zfs-9999.ebuild | 5 ++++-
17 1 file changed, 4 insertions(+), 1 deletion(-)
18
19 diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
20 index fdb0ed3deb3..33c2826938c 100644
21 --- a/sys-fs/zfs/zfs-9999.ebuild
22 +++ b/sys-fs/zfs/zfs-9999.ebuild
23 @@ -25,10 +25,11 @@ IUSE="custom-cflags debug kernel-builtin python +rootfs test-suite static-libs"
24
25 COMMON_DEPEND="
26 ${PYTHON_DEPS}
27 - net-libs/libtirpc
28 + net-libs/libtirpc[static-libs?]
29 sys-apps/util-linux[static-libs?]
30 sys-libs/zlib[static-libs(+)?]
31 virtual/awk
32 + virtual/libudev[static-libs?]
33 python? (
34 virtual/python-cffi[${PYTHON_USEDEP}]
35 )
36 @@ -123,6 +124,7 @@ src_configure() {
37
38 local myconf=(
39 --bindir="${EPREFIX}/bin"
40 + --enable-shared
41 --enable-systemd
42 --enable-sysvinit
43 --localstatedir="${EPREFIX}/var"
44 @@ -136,6 +138,7 @@ src_configure() {
45 --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset"
46 $(use_enable debug)
47 $(use_enable python pyzfs)
48 + $(use_enable static-libs static)
49 )
50
51 econf "${myconf[@]}"