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