summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2009-01-04 02:06:29 +0000
committerMike Pagano <mpagano@gentoo.org>2009-01-04 02:06:29 +0000
commite0557e2332a2b69ec8ca740263481fbb6ae143d7 (patch)
tree2456410941ff6e66f8e28d4a88d45eb24f61d50b /dev-util/pstack
parentversion bump (bug #252813) (diff)
downloadgentoo-2-e0557e2332a2b69ec8ca740263481fbb6ae143d7.tar.gz
gentoo-2-e0557e2332a2b69ec8ca740263481fbb6ae143d7.tar.bz2
gentoo-2-e0557e2332a2b69ec8ca740263481fbb6ae143d7.zip
Respecting CC variable see bug #244036
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
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