commit: 908b0a0bbe33ee5e24c4cb435abd7e9844d592a9 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Feb 9 18:49:33 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Feb 9 18:49:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908b0a0b
net-libs/libnatpmp: Port to EAPI 7 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: David Seifert <soap <AT> gentoo.org> net-libs/libnatpmp/libnatpmp-20150609.ebuild | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/net-libs/libnatpmp/libnatpmp-20150609.ebuild b/net-libs/libnatpmp/libnatpmp-20150609.ebuild index 95c1b853efb..ce801e2b16b 100644 --- a/net-libs/libnatpmp/libnatpmp-20150609.ebuild +++ b/net-libs/libnatpmp/libnatpmp-20150609.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" -inherit eutils toolchain-funcs multilib +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="An alternative protocol to UPnP IGD specification" HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html" @@ -11,12 +12,14 @@ SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="static-libs" -src_prepare() { - epatch "${FILESDIR}"/respect-FLAGS-20140401.patch - epatch "${FILESDIR}"/respect-libdir-20120821.patch - use static-libs || epatch "${FILESDIR}"/remove-static-lib-20130911.patch +PATCHES=( + "${FILESDIR}"/respect-FLAGS-20140401.patch + "${FILESDIR}"/respect-libdir-20120821.patch + "${FILESDIR}"/remove-static-lib-20130911.patch +) + +src_configure() { tc-export CC }
