summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2018-10-20 22:13:32 +0000
committerSven Wegener <swegener@gentoo.org>2018-10-20 22:14:04 +0000
commitd145595d9ba4e4818c882df4348ab7f610c4d951 (patch)
treed9dc6384ca721c32f28be05d0f76a732c7c9463c
parentgames-rpg/arx-fatalis-data: Update patch SRC_URI (diff)
downloadgentoo-d145595d9ba4e4818c882df4348ab7f610c4d951.tar.gz
gentoo-d145595d9ba4e4818c882df4348ab7f610c4d951.tar.bz2
gentoo-d145595d9ba4e4818c882df4348ab7f610c4d951.zip
sys-fs/xfsprogs: Use use_enable for static-libs
Signed-off-by: Sven Wegener <swegener@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
-rw-r--r--sys-fs/xfsprogs/xfsprogs-4.17.0-r1.ebuild6
-rw-r--r--sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild6
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 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[@]}"