From 854ea4a901e7aee06c5fd57b387b38039b4755c3 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 17 Sep 2010 04:25:08 +0000 Subject: Respect LDFLAGS (bug #335300), CFLAGS, and do not hard-wire CC. Package-Manager: portage-2.2_rc82/cvs/Linux i686 --- dev-util/pstack/ChangeLog | 9 +++++++-- dev-util/pstack/Manifest | 3 ++- dev-util/pstack/pstack-1.1-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 dev-util/pstack/pstack-1.1-r1.ebuild (limited to 'dev-util') 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 +pstack-1.1-r1.ebuild: + Respect LDFLAGS (bug #335300), CFLAGS, and do not hard-wire CC. 04 Jan 2009; Mike Pagano 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 +} -- cgit v1.2.3-65-gdbad