From 3bbec67e236f6c9ec66ed4db42a2b2628a88bc2a Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 1 Feb 2021 09:28:37 +0000 Subject: net-libs/net6: port to EAPI 7 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- net-libs/net6/net6-1.3.14-r2.ebuild | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'net-libs/net6') diff --git a/net-libs/net6/net6-1.3.14-r2.ebuild b/net-libs/net6/net6-1.3.14-r2.ebuild index 7d269bc823c0..cb41c438fc5d 100644 --- a/net-libs/net6/net6-1.3.14-r2.ebuild +++ b/net-libs/net6/net6-1.3.14-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils flag-o-matic ltprune multilib +inherit flag-o-matic DESCRIPTION="Network access framework for IPv4/IPv6 written in C++" HOMEPAGE="http://gobby.0x539.de/" @@ -12,13 +12,17 @@ SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm ~hppa ppc x86" -IUSE="nls static-libs" +IUSE="nls" -RDEPEND="dev-libs/libsigc++:2 - >=net-libs/gnutls-1.2.10" -DEPEND="${RDEPEND} +BDEPEND=" virtual/pkgconfig - nls? ( sys-devel/gettext )" + nls? ( sys-devel/gettext ) +" +RDEPEND=" + dev-libs/libsigc++:2 + >=net-libs/gnutls-1.2.10:= +" +DEPEND="${RDEPEND}" DOCS=( AUTHORS ChangeLog NEWS README ) PATCHES=( @@ -27,11 +31,14 @@ PATCHES=( src_configure() { append-cxxflags -std=c++11 - econf $(use_enable nls) \ - $(use_enable static-libs static) + + econf \ + --disable-static \ + $(use_enable nls) } src_install() { default - prune_libtool_files + + find "${ED}" -name '*.la' -delete || die } -- cgit v1.2.3-65-gdbad