commit:     d145595d9ba4e4818c882df4348ab7f610c4d951
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 20 22:13:32 2018 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Oct 20 22:14:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d145595d

sys-fs/xfsprogs: Use use_enable for static-libs

Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
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(-)

diff --git a/sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild 
b/sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild
index 9c4506c9ced..70e095eb507 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 75efba7d259..ac490a41e28 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[@]}"
 

Reply via email to