summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2010-07-21 00:29:13 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2010-07-21 00:29:13 +0000
commitc5c5299a026d9fea61648bb8eefa37a24b16b2ff (patch)
tree6c7becb2b6ad8d22a3ac596128d2f0488faafc39
parentversion bump (diff)
downloadgentoo-2-c5c5299a026d9fea61648bb8eefa37a24b16b2ff.tar.gz
gentoo-2-c5c5299a026d9fea61648bb8eefa37a24b16b2ff.tar.bz2
gentoo-2-c5c5299a026d9fea61648bb8eefa37a24b16b2ff.zip
added amd64 keyword + ebuild cleanup.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--sys-apps/nca/ChangeLog7
-rw-r--r--sys-apps/nca/nca-0.9.0.ebuild13
2 files changed, 11 insertions, 9 deletions
diff --git a/sys-apps/nca/ChangeLog b/sys-apps/nca/ChangeLog
index 5f5a8ab8b999..eb011c044822 100644
--- a/sys-apps/nca/ChangeLog
+++ b/sys-apps/nca/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/nca
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/nca/ChangeLog,v 1.1 2007/05/25 20:44:52 sbriesen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nca/ChangeLog,v 1.2 2010/07/21 00:29:13 sbriesen Exp $
+
+ 21 Jul 2010; Stefan Briesenick <sbriesen@gentoo.org> nca-0.9.0.ebuild:
+ added amd64 keyword + ebuild cleanup.
*nca-0.9.0 (25 May 2007)
diff --git a/sys-apps/nca/nca-0.9.0.ebuild b/sys-apps/nca/nca-0.9.0.ebuild
index 513c156a1d8c..f87bcb4fb570 100644
--- a/sys-apps/nca/nca-0.9.0.ebuild
+++ b/sys-apps/nca/nca-0.9.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/nca/nca-0.9.0.ebuild,v 1.1 2007/05/25 20:44:52 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nca/nca-0.9.0.ebuild,v 1.2 2010/07/21 00:29:13 sbriesen Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs
@@ -10,7 +12,7 @@ SRC_URI="http://www.xenoclast.org/nca/download/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-libs/openssl
@@ -19,10 +21,7 @@ RDEPEND="dev-libs/openssl
DEPEND="dev-lang/perl
${RDEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
sed -i -e "s:^\([[:space:]]\+\$(MAKE) install\):\1 DESTDIR=\$(DESTDIR):g" \
-e "s:=\(\$(CFLAGS)\):=\"\1\":g" -e "s:=\(\$(CC)\):=\"\1\":g" Makefile