summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Pronin <dannftk@yandex.ru>2021-05-22 08:47:07 +0300
committerMike Gilbert <floppym@gentoo.org>2021-05-24 11:06:27 -0400
commitfaa5f8819b6dc037dc12f5c3c8c607551fb8fec8 (patch)
treeaa1871f67db72f7799bca633a4651bbdc6b548c4 /net-libs
parentdev-perl/AppConfig: Set license to Artistic (smallest common den.) (diff)
downloadgentoo-faa5f8819b6dc037dc12f5c3c8c607551fb8fec8.tar.gz
gentoo-faa5f8819b6dc037dc12f5c3c8c607551fb8fec8.tar.bz2
gentoo-faa5f8819b6dc037dc12f5c3c8c607551fb8fec8.zip
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@yandex.ru> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20924
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnsl/libnsl-1.3.0-r1.ebuild4
1 files 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 e16f5f60ba89..f17bbe4bec4d 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[@]}"
}