Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/google-perftools: google-perftools-1.9.ebuild ChangeLog
Date: Sat, 24 Dec 2011 15:11:36
Message-Id: 20111224151126.64EF12004B@flycatcher.gentoo.org
1 flameeyes 11/12/24 15:11:26
2
3 Modified: ChangeLog
4 Added: google-perftools-1.9.ebuild
5 Log:
6 Version bump; tests are enabled, but there is a failure still, which needs to be identified.
7
8 (Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.14 dev-util/google-perftools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 28 Aug 2011 15:22:40 -0000 1.13
24 +++ ChangeLog 24 Dec 2011 15:11:26 -0000 1.14
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-util/google-perftools
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.13 2011/08/28 15:22:40 naota Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.14 2011/12/24 15:11:26 flameeyes Exp $
30 +
31 +*google-perftools-1.9 (24 Dec 2011)
32 +
33 + 24 Dec 2011; Diego E. Pettenò <flameeyes@g.o>
34 + +google-perftools-1.9.ebuild:
35 + Version bump; tests are enabled, but there is a failure still, which needs to
36 + be identified.
37
38 28 Aug 2011; Naohiro Aota <naota@g.o> google-perftools-1.8.3.ebuild:
39 Add ~x86-fbsd, bug #377199
40
41
42
43 1.1 dev-util/google-perftools/google-perftools-1.9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-1.9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-1.9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: google-perftools-1.9.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/google-perftools-1.9.ebuild,v 1.1 2011/12/24 15:11:26 flameeyes Exp $
53
54 EAPI=4
55
56 inherit toolchain-funcs eutils flag-o-matic
57
58 DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
59 HOMEPAGE="http://code.google.com/p/google-perftools/"
60 SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz"
61
62 LICENSE="MIT"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
65 IUSE="largepages +debug minimal test"
66
67 DEPEND="sys-libs/libunwind"
68 RDEPEND="${DEPEND}"
69
70 pkg_setup() {
71 # set up the make options in here so that we can actually make use
72 # of them on both compile and install.
73
74 # Avoid building the unit testing if we're not going to execute
75 # tests; this trick here allows us to ignore the tests without
76 # touching the build system (and thus without rebuilding
77 # autotools). Keep commented as long as it's restricted.
78 use test || \
79 makeopts="${makeopts} noinst_PROGRAMS= "
80
81 # don't install _anything_ from the documentation, since it would
82 # install it in non-standard locations, and would just waste time.
83 makeopts="${makeopts} dist_doc_DATA= "
84 }
85
86 src_configure() {
87 use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES
88
89 append-flags -fno-strict-aliasing
90
91 econf \
92 --disable-static \
93 --disable-dependency-tracking \
94 --enable-fast-install \
95 $(use_enable debug debugalloc) \
96 $(use_enable minimal)
97 }
98
99 src_compile() {
100 emake ${makeopts}
101 }
102
103 src_test() {
104 case "${LD_PRELOAD}" in
105 *libsandbox*)
106 ewarn "Unable to run tests when sanbox is enabled."
107 ewarn "See http://bugs.gentoo.org/290249"
108 return 0
109 ;;
110 esac
111
112 emake check
113 }
114
115 src_install() {
116 emake DESTDIR="${D}" install ${makeopts}
117
118 # Remove libtool files since we dropped the static libraries
119 find "${D}" -name '*.la' -delete
120
121 dodoc README AUTHORS ChangeLog TODO NEWS
122 pushd doc
123 dohtml -r *
124 popd
125 }