diff options
-rw-r--r-- | app-crypt/gpgstats/files/gpgstats-0.5-flags.patch | 4 | ||||
-rw-r--r-- | app-crypt/gpgstats/gpgstats-0.5-r1.ebuild | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/app-crypt/gpgstats/files/gpgstats-0.5-flags.patch b/app-crypt/gpgstats/files/gpgstats-0.5-flags.patch index 018d97390c65..9a058ec48dbc 100644 --- a/app-crypt/gpgstats/files/gpgstats-0.5-flags.patch +++ b/app-crypt/gpgstats/files/gpgstats-0.5-flags.patch @@ -1,5 +1,5 @@ ---- Makefile -+++ Makefile +--- a/Makefile ++++ b/Makefile @@ -1,16 +1,18 @@ VERSION=0.5 diff --git a/app-crypt/gpgstats/gpgstats-0.5-r1.ebuild b/app-crypt/gpgstats/gpgstats-0.5-r1.ebuild index f10306f88613..a06c97701e67 100644 --- a/app-crypt/gpgstats/gpgstats-0.5-r1.ebuild +++ b/app-crypt/gpgstats/gpgstats-0.5-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="2" +EAPI="6" inherit eutils toolchain-funcs @@ -16,14 +16,15 @@ IUSE="" RDEPEND="app-crypt/gpgme" DEPEND="${RDEPEND}" -src_prepare() { - epatch "${FILESDIR}/${P}-flags.patch" -} +PATCHES=( + "${FILESDIR}/${P}-flags.patch" +) src_compile() { - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG= || die "emake failed" + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG= } src_install() { - dobin gpgstats || die "dobin gpgstas failed" + einstalldocs + dobin gpgstats } |