commit: d629ccb0c087f29c443f9cc52eefd6a86ba454fe Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sat Jan 18 17:35:40 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Jan 18 17:35:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d629ccb0
net-dns/totd: Port to EAPI 7 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert <soap <AT> gentoo.org> net-dns/totd/files/totd-1.5.1-fix-CC.patch | 11 +++++++++++ net-dns/totd/totd-1.5.1.ebuild | 17 ++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/net-dns/totd/files/totd-1.5.1-fix-CC.patch b/net-dns/totd/files/totd-1.5.1-fix-CC.patch new file mode 100644 index 00000000000..3ebbd419d0e --- /dev/null +++ b/net-dns/totd/files/totd-1.5.1-fix-CC.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -4,7 +4,7 @@ + # <$Id: Makefile.in,v 3.43 2005/01/31 11:55:14 dillema Exp $> + # + +-CC = gcc ++CC = @CC@ + + # These use the standard autoconf variables, which by default are + # rooted in @prefix@ diff --git a/net-dns/totd/totd-1.5.1.ebuild b/net-dns/totd/totd-1.5.1.ebuild index 8cb983f4b00..e9e8691f95f 100644 --- a/net-dns/totd/totd-1.5.1.ebuild +++ b/net-dns/totd/totd-1.5.1.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 - -inherit eutils +EAPI=7 DESCRIPTION="Trick Or Treat Daemon, a DNS proxy for 6to4" HOMEPAGE="http://www.dillema.net/software/totd.html" @@ -12,14 +10,11 @@ SRC_URI="http://www.dillema.net/software/${PN}/${P}.tar.gz" LICENSE="totd BSD BSD-4" SLOT="0" KEYWORDS="~amd64 x86" -IUSE="" - -DEPEND="" -RDEPEND="" -src_prepare() { - epatch "${FILESDIR}"/${P}-no_werror.patch -} +PATCHES=( + "${FILESDIR}"/${P}-no_werror.patch + "${FILESDIR}"/${P}-fix-CC.patch +) src_configure() { econf \