commit: 92180613098df2491c2b7405c82143e20932d95f Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Fri Aug 14 12:44:47 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Fri Aug 14 12:44:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92180613
dev-libs/libspt: [QA] Remove 'static-libs' from IUSE Closes: https://bugs.gentoo.org/726980 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: David Seifert <soap <AT> gentoo.org> dev-libs/libspt/libspt-1.1-r2.ebuild | 13 ++++++++++--- dev-libs/libspt/libspt-1.1-r4.ebuild | 9 ++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild index a2a4e137b0e..6954c394f08 100644 --- a/dev-libs/libspt/libspt-1.1-r2.ebuild +++ b/dev-libs/libspt/libspt-1.1-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=7 inherit autotools @@ -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 static-libs" +IUSE="+libtirpc" RESTRICT="test" RDEPEND="!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) @@ -35,6 +35,13 @@ src_prepare() { src_configure() { econf \ - $(use_enable static-libs static) \ + --disable-static \ $(use_with libtirpc) } + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/libspt/libspt-1.1-r4.ebuild b/dev-libs/libspt/libspt-1.1-r4.ebuild index 735a315264f..b2a50f29ed3 100644 --- a/dev-libs/libspt/libspt-1.1-r4.ebuild +++ b/dev-libs/libspt/libspt-1.1-r4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=7 inherit autotools @@ -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="static-libs suid" +IUSE="suid" RESTRICT="test" RDEPEND="net-libs/libtirpc" @@ -34,13 +34,16 @@ src_prepare() { src_configure() { econf \ - $(use_enable static-libs static) \ + --disable-static \ --with-libtirpc } src_install() { default + # no static archives + find "${ED}" -name '*.la' -delete || die + if use suid; then fperms 4755 /usr/libexec/sptagent fi
