diff --git a/net-misc/whatmask/whatmask-1.2-r1.ebuild b/net-misc/whatmask/whatmask-1.2-r1.ebuild index 4dbd6756dbc5a..1d26a1cd2e07b 100644 --- a/net-misc/whatmask/whatmask-1.2-r1.ebuild +++ b/net-misc/whatmask/whatmask-1.2-r1.ebuild @@ -1,21 +1,20 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" - +EAPI=7 inherit toolchain-funcs DESCRIPTION="little C program to compute different subnet mask notations" HOMEPAGE="http://www.laffeycomputer.com/whatmask.html" -SRC_URI="http://downloads.laffeycomputer.com/current_builds/whatmask/${P}.tar.gz" +SRC_URI="http://downloads.laffeycomputer.com/current_builds/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc sparc x86" -IUSE="" DOCS=( AUTHORS ChangeLog INSTALL NEWS README ) -src_prepare() { +src_configure() { tc-export CC + default }