From d145595d9ba4e4818c882df4348ab7f610c4d951 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sat, 20 Oct 2018 22:13:32 +0000 Subject: sys-fs/xfsprogs: Use use_enable for static-libs Signed-off-by: Sven Wegener Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild | 6 +----- sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild b/sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild index 9c4506c9ced4..70e095eb507f 100644 --- a/sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild @@ -61,12 +61,8 @@ src_configure() { $(use_enable nls gettext) $(use_enable readline) $(usex readline --disable-editline $(use_enable libedit editline)) + $(use_enable static-libs static) ) - if use static-libs ; then - myconf+=( --enable-static ) - else - myconf+=( --disable-static ) - fi econf "${myconf[@]}" diff --git a/sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild b/sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild index 75efba7d2594..ac490a41e289 100644 --- a/sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild @@ -61,12 +61,8 @@ src_configure() { $(use_enable nls gettext) $(use_enable readline) $(usex readline --disable-editline $(use_enable libedit editline)) + $(use_enable static-libs static) ) - if use static-libs ; then - myconf+=( --enable-static ) - else - myconf+=( --disable-static ) - fi econf "${myconf[@]}" -- cgit v1.2.3-65-gdbad