summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-07-15 22:53:38 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-07-15 22:53:38 +0000
commit354dde377e894b425c373af603a042992cedc3f1 (patch)
treebd4e5e5d84d21c79b84135ce36f6c62515a724df /app-crypt/nasty/nasty-0.6-r1.ebuild
parentMask dillo useflag on claws-mail as current dillo version is unkeyworded on (diff)
downloadgentoo-2-354dde377e894b425c373af603a042992cedc3f1.tar.gz
gentoo-2-354dde377e894b425c373af603a042992cedc3f1.tar.bz2
gentoo-2-354dde377e894b425c373af603a042992cedc3f1.zip
Fix building with app-crypt/gpgme-1.2.0 (bug #277886). Respect CC, LDFLAGS.
(Portage version: 13827-svn/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/nasty/nasty-0.6-r1.ebuild')
-rw-r--r--app-crypt/nasty/nasty-0.6-r1.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/app-crypt/nasty/nasty-0.6-r1.ebuild b/app-crypt/nasty/nasty-0.6-r1.ebuild
index 4a1176d34b43..ba779b223fb3 100644
--- a/app-crypt/nasty/nasty-0.6-r1.ebuild
+++ b/app-crypt/nasty/nasty-0.6-r1.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/nasty/nasty-0.6-r1.ebuild,v 1.4 2008/10/05 13:12:45 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/nasty/nasty-0.6-r1.ebuild,v 1.5 2009/07/15 22:53:38 arfrever Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
DESCRIPTION="Proof-of-concept GPG passphrase recovery tool."
HOMEPAGE="http://www.vanheusden.com/nasty/"
@@ -12,16 +16,12 @@ IUSE=""
RDEPEND="app-crypt/gpgme"
DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- sed -i.orig \
- -e 's,^LDFLAGS=-lgpgme,LDFLAGS=`gpgme-config --libs`,g' \
- -e '/^CFLAGS/s,$(DEBUG),`gpgme-config --cflags` $(DEBUG),g' \
- "${S}"/Makefile || die "sed failed"
+src_prepare() {
+ epatch "${FILESDIR}/${P}-flags.patch"
}
src_compile() {
- emake DEBUG='' || die "emake failed"
+ emake CC="$(tc-getCC)" DEBUG= || die "emake failed"
}
src_install() {