summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-14 14:44:47 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-14 14:44:47 +0200
commit92180613098df2491c2b7405c82143e20932d95f (patch)
treebdfa9ca6dba3d4fc835090f807c2fa3126420bb9 /dev-libs/libspt
parentsys-cluster/rdma-core: install ibcap init conditionally (diff)
downloadgentoo-92180613098df2491c2b7405c82143e20932d95f.tar.gz
gentoo-92180613098df2491c2b7405c82143e20932d95f.tar.bz2
gentoo-92180613098df2491c2b7405c82143e20932d95f.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/libspt')
-rw-r--r--dev-libs/libspt/libspt-1.1-r2.ebuild13
-rw-r--r--dev-libs/libspt/libspt-1.1-r4.ebuild9
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 a2a4e137b0ee..6954c394f08c 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 735a315264f6..b2a50f29ed36 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