Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnatpmp/
Date: Sun, 09 Feb 2020 18:50:24
Message-Id: 1581274173.908b0a0bbe33ee5e24c4cb435abd7e9844d592a9.soap@gentoo
1 commit: 908b0a0bbe33ee5e24c4cb435abd7e9844d592a9
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 9 18:49:33 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 18:49:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908b0a0b
7
8 net-libs/libnatpmp: Port to EAPI 7
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 net-libs/libnatpmp/libnatpmp-20150609.ebuild | 19 +++++++++++--------
14 1 file changed, 11 insertions(+), 8 deletions(-)
15
16 diff --git a/net-libs/libnatpmp/libnatpmp-20150609.ebuild b/net-libs/libnatpmp/libnatpmp-20150609.ebuild
17 index 95c1b853efb..ce801e2b16b 100644
18 --- a/net-libs/libnatpmp/libnatpmp-20150609.ebuild
19 +++ b/net-libs/libnatpmp/libnatpmp-20150609.ebuild
20 @@ -1,8 +1,9 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="5"
26 -inherit eutils toolchain-funcs multilib
27 +EAPI=7
28 +
29 +inherit toolchain-funcs
30
31 DESCRIPTION="An alternative protocol to UPnP IGD specification"
32 HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html"
33 @@ -11,12 +12,14 @@ SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar
34 LICENSE="BSD"
35 SLOT="0"
36 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
37 -IUSE="static-libs"
38
39 -src_prepare() {
40 - epatch "${FILESDIR}"/respect-FLAGS-20140401.patch
41 - epatch "${FILESDIR}"/respect-libdir-20120821.patch
42 - use static-libs || epatch "${FILESDIR}"/remove-static-lib-20130911.patch
43 +PATCHES=(
44 + "${FILESDIR}"/respect-FLAGS-20140401.patch
45 + "${FILESDIR}"/respect-libdir-20120821.patch
46 + "${FILESDIR}"/remove-static-lib-20130911.patch
47 +)
48 +
49 +src_configure() {
50 tc-export CC
51 }