summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-01-18 18:35:40 +0100
committerDavid Seifert <soap@gentoo.org>2020-01-18 18:35:40 +0100
commitd629ccb0c087f29c443f9cc52eefd6a86ba454fe (patch)
tree296783a3e5ed8282f4559f1bbbcd52719be780b4 /net-dns/totd
parentnet-analyzer/nagios-check_dnssec: Port to EAPI 7 (diff)
downloadgentoo-d629ccb0c087f29c443f9cc52eefd6a86ba454fe.tar.gz
gentoo-d629ccb0c087f29c443f9cc52eefd6a86ba454fe.tar.bz2
gentoo-d629ccb0c087f29c443f9cc52eefd6a86ba454fe.zip
net-dns/totd: Port to EAPI 7
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-dns/totd')
-rw-r--r--net-dns/totd/files/totd-1.5.1-fix-CC.patch11
-rw-r--r--net-dns/totd/totd-1.5.1.ebuild17
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 000000000000..3ebbd419d0e2
--- /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 8cb983f4b008..e9e8691f95fe 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 \