diff options
author | David Seifert <soap@gentoo.org> | 2020-02-09 19:49:33 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-09 19:49:33 +0100 |
commit | 908b0a0bbe33ee5e24c4cb435abd7e9844d592a9 (patch) | |
tree | acae62eaddf7264cebcf3fd9a0b9fdfb9808eefc /net-libs/libnatpmp/libnatpmp-20150609.ebuild | |
parent | net-libs/libnfnetlink: Port to EAPI 7 (diff) | |
download | gentoo-908b0a0bbe33ee5e24c4cb435abd7e9844d592a9.tar.gz gentoo-908b0a0bbe33ee5e24c4cb435abd7e9844d592a9.tar.bz2 gentoo-908b0a0bbe33ee5e24c4cb435abd7e9844d592a9.zip |
net-libs/libnatpmp: Port to EAPI 7
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-libs/libnatpmp/libnatpmp-20150609.ebuild')
-rw-r--r-- | net-libs/libnatpmp/libnatpmp-20150609.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/net-libs/libnatpmp/libnatpmp-20150609.ebuild b/net-libs/libnatpmp/libnatpmp-20150609.ebuild index 95c1b853efb5..ce801e2b16bb 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 } |