commit:     faa5f8819b6dc037dc12f5c3c8c607551fb8fec8
Author:     Denis Pronin <dannftk <AT> yandex <DOT> ru>
AuthorDate: Sat May 22 05:47:07 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon May 24 15:06:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa5f881

net-libs/libnsl: add static-libs USE flag

libnsl may be linked statically by some out-of-repo software.

Signed-off-by: Denis Pronin <dannftk <AT> yandex.ru>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/20924

 net-libs/libnsl/libnsl-1.3.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libnsl/libnsl-1.3.0-r1.ebuild 
b/net-libs/libnsl/libnsl-1.3.0-r1.ebuild
index e16f5f60ba8..f17bbe4bec4 100644
--- a/net-libs/libnsl/libnsl-1.3.0-r1.ebuild
+++ b/net-libs/libnsl/libnsl-1.3.0-r1.ebuild
@@ -15,7 +15,7 @@ LICENSE="LGPL-2.1+"
 # Stabilize together with glibc-2.26!
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 
-IUSE=""
+IUSE="static-libs"
 
 DEPEND="
        >=net-libs/libtirpc-1.2.0[${MULTILIB_USEDEP}]
@@ -31,7 +31,7 @@ PATCHES=(
 multilib_src_configure() {
        local myconf=(
                --enable-shared
-               --disable-static
+               $(use_enable static-libs static)
        )
        ECONF_SOURCE=${S} econf "${myconf[@]}"
 }

Reply via email to