summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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