summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/pstack')
-rw-r--r--dev-util/pstack/ChangeLog7
-rw-r--r--dev-util/pstack/pstack-1.1.ebuild14
2 files changed, 17 insertions, 4 deletions
diff --git a/dev-util/pstack/ChangeLog b/dev-util/pstack/ChangeLog
index 1b1b474514ba..4dc66ddfd60b 100644
--- a/dev-util/pstack/ChangeLog
+++ b/dev-util/pstack/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/pstack
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pstack/ChangeLog,v 1.8 2007/10/06 16:18:42 coldwind Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pstack/ChangeLog,v 1.9 2009/01/04 02:06:29 mpagano Exp $
+
+ 04 Jan 2009; Mike Pagano <mpagano@gentoo.org> pstack-1.1.ebuild:
+ Respecting CC variable see bug #244036
06 Oct 2007; Santiago M. Mola <coldwind@gentoo.org> pstack-1.1.ebuild:
Homepage is dead, use man page (#185450). Thanks to Erik Musick.
diff --git a/dev-util/pstack/pstack-1.1.ebuild b/dev-util/pstack/pstack-1.1.ebuild
index 46689ffca8fa..b7e7abc3a6c6 100644
--- a/dev-util/pstack/pstack-1.1.ebuild
+++ b/dev-util/pstack/pstack-1.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pstack/pstack-1.1.ebuild,v 1.6 2007/10/06 16:18:42 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pstack/pstack-1.1.ebuild,v 1.7 2009/01/04 02:06:29 mpagano Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Display stack trace of a running process."
SRC_URI="mirror://gentoo/${PN}.tgz"
@@ -15,6 +17,14 @@ IUSE=""
S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # respect CC variable see bug #244036
+ sed -i -e "s:gcc:$(tc-getCC):" Makefile
+}
+
src_install() {
dosbin pstack || die "dosbin failed"
doman man1/pstack.1