app-arch/bzip2: restore static-libs support
authorMike Gilbert <floppym@gentoo.org>
Wed, 26 Jun 2019 17:47:11 +0000 (13:47 -0400)
committerMike Gilbert <floppym@gentoo.org>
Wed, 26 Jun 2019 17:47:11 +0000 (13:47 -0400)
Package-Manager: Portage-2.3.67_p12, Repoman-2.3.14_p7
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
app-arch/bzip2/bzip2-9999.ebuild

index efb00d106dff520cb7de3f155735e10cbb834c51..1b4bac424b04e407b33f02f485aa6a8d357fc0dd 100644 (file)
@@ -17,10 +17,11 @@ fi
 LICENSE="BZIP2"
 SLOT="0/1" # subslot = SONAME
 
-IUSE=""
+IUSE="static-libs"
 
 multilib_src_configure() {
        local emesonargs=(
+               -Ddefault_library=$(usex static-libs both shared)
                # Requires whole tex stack
                -Ddocs="disabled"
        )