summaryrefslogtreecommitdiff
path: root/net-dns/totd/totd-1.5.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/totd/totd-1.5.1.ebuild')
-rw-r--r--net-dns/totd/totd-1.5.1.ebuild17
1 files changed, 6 insertions, 11 deletions
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 \