From: Sven Wegener Date: Sat, 20 Oct 2018 22:13:32 +0000 (+0000) Subject: sys-fs/xfsprogs: Use use_enable for static-libs X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d145595d9ba4e4818c882df4348ab7f610c4d951;p=gentoo.git sys-fs/xfsprogs: Use use_enable for static-libs Signed-off-by: Sven Wegener Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- 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[@]}"