summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2005-04-09 08:52:39 +0000
committerSimon Stelling <blubb@gentoo.org>2005-04-09 08:52:39 +0000
commit432dfd96aa3646f8acea48f2d397cd1ba60f01c3 (patch)
tree0c3bee52dfff224f59b3b7f7bbf9d046e161e6da /dev-util/jscalltree
parentStable on ppc64 (diff)
downloadgentoo-2-432dfd96aa3646f8acea48f2d397cd1ba60f01c3.tar.gz
gentoo-2-432dfd96aa3646f8acea48f2d397cd1ba60f01c3.tar.bz2
gentoo-2-432dfd96aa3646f8acea48f2d397cd1ba60f01c3.zip
~amd64
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-util/jscalltree')
-rw-r--r--dev-util/jscalltree/ChangeLog7
-rw-r--r--dev-util/jscalltree/jscalltree-2.3.ebuild16
2 files changed, 18 insertions, 5 deletions
diff --git a/dev-util/jscalltree/ChangeLog b/dev-util/jscalltree/ChangeLog
index 79ea99e66d63..df6dbe77667d 100644
--- a/dev-util/jscalltree/ChangeLog
+++ b/dev-util/jscalltree/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/jscalltree
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/jscalltree/ChangeLog,v 1.3 2004/06/25 02:37:40 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/jscalltree/ChangeLog,v 1.4 2005/04/09 08:50:24 blubb Exp $
+
+ 09 Apr 2005; Simon Stelling <blubb@gentoo.org> jscalltree-2.3.ebuild:
+ added ~amd64
06 Apr 2004; David Holm <dholm@gentoo.org> jscalltree-2.3.ebuild:
Added to ~ppc.
diff --git a/dev-util/jscalltree/jscalltree-2.3.ebuild b/dev-util/jscalltree/jscalltree-2.3.ebuild
index 8212d8d6bb75..6465b8a1eb4d 100644
--- a/dev-util/jscalltree/jscalltree-2.3.ebuild
+++ b/dev-util/jscalltree/jscalltree-2.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/jscalltree/jscalltree-2.3.ebuild,v 1.3 2004/06/25 02:37:40 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/jscalltree/jscalltree-2.3.ebuild,v 1.4 2005/04/09 08:50:24 blubb Exp $
MY_P=${P/js/}
DESCRIPTION="Static call tree generator for C programs"
@@ -9,11 +9,21 @@ SRC_URI="ftp://ftp.berlios.de/pub/calltree/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="x86 ~ppc ~amd64"
IUSE=""
DEPEND=""
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+
+ # No rules file for amd64 but the x86 one seems to work well.
+ if use amd64; then
+ cd ${S}/RULES
+ [ -f x86_64-linux-cc.rul ] || ln -s i586-linux-cc.rul x86_64-linux-cc.rul
+ fi
+}
+
src_compile() {
emake || die "make failed"
}