From d5208c5b1bab20efa7a4b7b87b3a64ba6c418bbd Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Tue, 11 Aug 2020 22:16:21 +0900 Subject: dev-libs/libspt: add static-libs USE flag Closes: https://bugs.gentoo.org/726980 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Akinori Hattori --- dev-libs/libspt/libspt-1.1-r2.ebuild | 6 ++++-- dev-libs/libspt/libspt-1.1-r4.ebuild | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'dev-libs/libspt') diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild index c2411df796bd..84e91ac5b6ea 100644 --- a/dev-libs/libspt/libspt-1.1-r2.ebuild +++ b/dev-libs/libspt/libspt-1.1-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://www.j10n.org/${PN}/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha amd64 ppc x86" -IUSE="+libtirpc" +IUSE="+libtirpc static-libs" RESTRICT="test" RDEPEND="!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) @@ -34,5 +34,7 @@ src_prepare() { } src_configure() { - econf $(use_with libtirpc) + econf \ + $(use_enable static-libs static) \ + $(use_with libtirpc) } diff --git a/dev-libs/libspt/libspt-1.1-r4.ebuild b/dev-libs/libspt/libspt-1.1-r4.ebuild index 4679b16bc3ff..1598b42d9b93 100644 --- a/dev-libs/libspt/libspt-1.1-r4.ebuild +++ b/dev-libs/libspt/libspt-1.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -12,7 +12,7 @@ SRC_URI="http://www.j10n.org/${PN}/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="suid" +IUSE="static-libs suid" RESTRICT="test" RDEPEND="net-libs/libtirpc" @@ -33,7 +33,9 @@ src_prepare() { } src_configure() { - econf --with-libtirpc + econf \ + $(use_enable static-libs static) \ + --with-libtirpc } src_install() { -- cgit v1.2.3-65-gdbad