commit: 8011d8157f47a67e23b1eb256f920aced59e271e Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Wed Mar 10 17:19:38 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Mar 11 17:05:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8011d815
net-misc/netpipes: EAPI7 bump Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/19871 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/netpipes/netpipes-4.2-r2.ebuild | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/net-misc/netpipes/netpipes-4.2-r2.ebuild b/net-misc/netpipes/netpipes-4.2-r2.ebuild index 9fbe3848ce4..d49bf549fc1 100644 --- a/net-misc/netpipes/netpipes-4.2-r2.ebuild +++ b/net-misc/netpipes/netpipes-4.2-r2.ebuild @@ -1,26 +1,28 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils toolchain-funcs +EAPI=7 -DESCRIPTION="a package to manipulate BSD TCP/IP stream sockets" -HOMEPAGE="http://web.purplefrog.com/~thoth/netpipes/" +inherit toolchain-funcs + +DESCRIPTION="Tools to manipulate BSD TCP/IP stream sockets" +HOMEPAGE="http://web.purplefrog.com/~thoth/netpipes/netpipes.html" SRC_URI="http://web.purplefrog.com/~thoth/netpipes/ftp/${P}-export.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" -S=${WORKDIR}/${P}-export +S="${WORKDIR}/${P}-export" + +PATCHES=( "${FILESDIR}/${P}"-string.patch ) src_prepare() { + default sed -i \ -e 's:CFLAGS =:CFLAGS +=:' \ -e '/ -o /s:${CFLAGS}:$(CFLAGS) $(LDFLAGS):g' \ Makefile || die - - epatch "${FILESDIR}/${P}"-string.patch } src_compile() {
