summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-17 04:25:08 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-17 04:25:08 +0000
commit854ea4a901e7aee06c5fd57b387b38039b4755c3 (patch)
tree9102f12f59b59c0536374e52eb0d49e0fc83bd5d /dev-util/pstack
parentRespect LDFLAGS (bug #335093), CC, CFLAGS. (diff)
downloadhistorical-854ea4a901e7aee06c5fd57b387b38039b4755c3.tar.gz
historical-854ea4a901e7aee06c5fd57b387b38039b4755c3.tar.bz2
historical-854ea4a901e7aee06c5fd57b387b38039b4755c3.zip
Respect LDFLAGS (bug #335300), CFLAGS, and do not hard-wire CC.
Package-Manager: portage-2.2_rc82/cvs/Linux i686
Diffstat (limited to 'dev-util/pstack')
-rw-r--r--dev-util/pstack/ChangeLog9
-rw-r--r--dev-util/pstack/Manifest3
-rw-r--r--dev-util/pstack/pstack-1.1-r1.ebuild33
3 files changed, 42 insertions, 3 deletions
diff --git a/dev-util/pstack/ChangeLog b/dev-util/pstack/ChangeLog
index 4dc66ddfd60b..6d256baccbc2 100644
--- a/dev-util/pstack/ChangeLog
+++ b/dev-util/pstack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/pstack
-# 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 $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pstack/ChangeLog,v 1.10 2010/09/17 04:25:08 jer Exp $
+
+*pstack-1.1-r1 (17 Sep 2010)
+
+ 17 Sep 2010; Jeroen Roovers <jer@gentoo.org> +pstack-1.1-r1.ebuild:
+ Respect LDFLAGS (bug #335300), CFLAGS, and do not hard-wire CC.
04 Jan 2009; Mike Pagano <mpagano@gentoo.org> pstack-1.1.ebuild:
Respecting CC variable see bug #244036
diff --git a/dev-util/pstack/Manifest b/dev-util/pstack/Manifest
index cff74c7dccd1..f540272128d7 100644
--- a/dev-util/pstack/Manifest
+++ b/dev-util/pstack/Manifest
@@ -1,4 +1,5 @@
DIST pstack.tgz 13265 RMD160 fc815266d895b6e016addef40414075307eda335 SHA1 bca56aca099bbada7694014a6ff67240691b3b66 SHA256 14e7de20dfb8a0c65c68c31f72814baef0d5452b3e91f6e9de0b00a1b98b8f46
+EBUILD pstack-1.1-r1.ebuild 824 RMD160 a977a8dd09e27db63864d4c42bd37bb82d511585 SHA1 8cdaa486332e27da88db52bad62c2df218ed7415 SHA256 f05e7152b3980c790ccfe00ffe321906343cd55e034e578cc1560d0b1fca83b6
EBUILD pstack-1.1.ebuild 782 RMD160 1f4fcfee7fe4ac91223951cec53d1a0639bbb521 SHA1 fc6f30efbd40f56c353b20456594d587fa89c833 SHA256 c0208352aa05120d61a0924bd059c46752289322c8c3d4adbdb46277a82f51ca
-MISC ChangeLog 1173 RMD160 88a599652d8a0ebd15ff87463c84e1c4339c791e SHA1 0cd0884a9d0b8d5da8c15da659cb31c2afcde058 SHA256 f56852d8473c6b6d3da63f0d3fea38a179a76e7f1ec470ae5ad31a3fa008ebbf
+MISC ChangeLog 1337 RMD160 03984920b97ee8d3c726d4f7c9de213b2dfb7b9c SHA1 2b60283e683347949001b0c6b53daf0a73ee63df SHA256 9cbb9f62519f28e8a47a936c4def792a6cc0e08011edc2636031b1eb829c3639
MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
diff --git a/dev-util/pstack/pstack-1.1-r1.ebuild b/dev-util/pstack/pstack-1.1-r1.ebuild
new file mode 100644
index 000000000000..825c71136f53
--- /dev/null
+++ b/dev-util/pstack/pstack-1.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pstack/pstack-1.1-r1.ebuild,v 1.1 2010/09/17 04:25:08 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Display stack trace of a running process."
+SRC_URI="mirror://gentoo/${PN}.tgz"
+HOMEPAGE="http://www.linuxcommand.org/man_pages/pstack1.html"
+# Old upstream HOMEPAGE: www.whatsis.com/pastack is dead, using
+# the man page at the moment.
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 -ppc -sparc -alpha"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ # respect CC variable see bug #244036
+ sed -i Makefile \
+ -e 's:gcc:$(CC) $(CFLAGS) $(LDFLAGS):' \
+ || die "sed Makefile"
+ tc-export CC
+}
+
+src_install() {
+ dosbin pstack || die "dosbin failed"
+ doman man1/pstack.1
+}