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/Manifest4
-rw-r--r--dev-util/pstack/pstack-1.1.ebuild14
3 files changed, 19 insertions, 6 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/Manifest b/dev-util/pstack/Manifest
index b8b01427d06c..e5eb5d9e3fe9 100644
--- a/dev-util/pstack/Manifest
+++ b/dev-util/pstack/Manifest
@@ -1,4 +1,4 @@
DIST pstack.tgz 13265 RMD160 fc815266d895b6e016addef40414075307eda335 SHA1 bca56aca099bbada7694014a6ff67240691b3b66 SHA256 14e7de20dfb8a0c65c68c31f72814baef0d5452b3e91f6e9de0b00a1b98b8f46
-EBUILD pstack-1.1.ebuild 633 RMD160 c797a02031537eab823897da987a3d3648a67d30 SHA1 956cc836a39d2bab763bd7bef1807f865bd60036 SHA256 0da0a646fe2cdd3ddc5b05339b20a832b59f1c440b3f0c0e4831c7548040c6bc
-MISC ChangeLog 1065 RMD160 49159d108b45336c574b1f7f5c364e8fa2b554bc SHA1 4bec424535ceacbc170707a6f5f6625f7e4468af SHA256 8b1054f1cf7a4b6f19167c1dc849333097827aa842933efa57513f01a0886f93
+EBUILD pstack-1.1.ebuild 781 RMD160 b8b08561583f528601f07d19bbebef8c070c3898 SHA1 688d7f4fc657173e117b05434a68da84c78e1e8a SHA256 47b1fead3300f2d6a80e1f839df463bf0ddc5d874ec7862192d88d44b325f342
+MISC ChangeLog 1173 RMD160 88a599652d8a0ebd15ff87463c84e1c4339c791e SHA1 0cd0884a9d0b8d5da8c15da659cb31c2afcde058 SHA256 f56852d8473c6b6d3da63f0d3fea38a179a76e7f1ec470ae5ad31a3fa008ebbf
MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
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