summaryrefslogtreecommitdiff
path: root/app-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/nasty/files/nasty-0.6-flags.patch4
-rw-r--r--app-crypt/nasty/nasty-0.6-r1.ebuild16
2 files changed, 10 insertions, 10 deletions
diff --git a/app-crypt/nasty/files/nasty-0.6-flags.patch b/app-crypt/nasty/files/nasty-0.6-flags.patch
index 271bbaab498..522e570a94a 100644
--- a/app-crypt/nasty/files/nasty-0.6-flags.patch
+++ b/app-crypt/nasty/files/nasty-0.6-flags.patch
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -1,15 +1,16 @@
VERSION=0.6
diff --git a/app-crypt/nasty/nasty-0.6-r1.ebuild b/app-crypt/nasty/nasty-0.6-r1.ebuild
index 35c3375ccb5..8cea59381f4 100644
--- a/app-crypt/nasty/nasty-0.6-r1.ebuild
+++ b/app-crypt/nasty/nasty-0.6-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 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
+inherit toolchain-funcs
DESCRIPTION="Proof-of-concept GPG passphrase recovery tool"
HOMEPAGE="http://www.vanheusden.com/nasty/"
@@ -16,15 +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)" DEBUG= || die "emake failed"
+ emake CC="$(tc-getCC)" DEBUG=
}
src_install() {
- dobin nasty || die "dobin nasty failed"
+ dobin nasty
dodoc readme.txt
}