diff options
Diffstat (limited to 'dev-libs/libspt/libspt-1.1-r4.ebuild')
-rw-r--r-- | dev-libs/libspt/libspt-1.1-r4.ebuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/dev-libs/libspt/libspt-1.1-r4.ebuild b/dev-libs/libspt/libspt-1.1-r4.ebuild index 4679b16bc3ff..038dc8d2ac53 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-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 inherit autotools @@ -11,13 +11,13 @@ 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" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="suid" RESTRICT="test" RDEPEND="net-libs/libtirpc" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" @@ -33,12 +33,17 @@ src_prepare() { } src_configure() { - econf --with-libtirpc + econf \ + --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 |