From 646d9954eb9558aa6331d1c84e8d9f9c0df226aa Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sat, 6 Aug 2011 14:03:01 +0000 Subject: Version bump to fix build with gcc-4.6 (bug #377997). Package-Manager: portage-2.2.0_alpha50/cvs/Linux x86_64 --- dev-util/google-perftools/ChangeLog | 8 ++- dev-util/google-perftools/Manifest | 14 ++-- .../google-perftools/google-perftools-1.8.1.ebuild | 80 ++++++++++++++++++++++ .../google-perftools/google-perftools-1.8.ebuild | 80 ---------------------- 4 files changed, 94 insertions(+), 88 deletions(-) create mode 100644 dev-util/google-perftools/google-perftools-1.8.1.ebuild delete mode 100644 dev-util/google-perftools/google-perftools-1.8.ebuild (limited to 'dev-util') diff --git a/dev-util/google-perftools/ChangeLog b/dev-util/google-perftools/ChangeLog index d2789426759f..5d216571d8ed 100644 --- a/dev-util/google-perftools/ChangeLog +++ b/dev-util/google-perftools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/google-perftools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.9 2011/07/31 19:37:18 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.10 2011/08/06 14:03:01 flameeyes Exp $ + +*google-perftools-1.8.1 (06 Aug 2011) + + 06 Aug 2011; Diego E. Pettenò + -google-perftools-1.8.ebuild, +google-perftools-1.8.1.ebuild: + Version bump to fix build with gcc-4.6 (bug #377997). *google-perftools-1.8 (31 Jul 2011) diff --git a/dev-util/google-perftools/Manifest b/dev-util/google-perftools/Manifest index 528ffb3cbbd1..3f82c6479a3f 100644 --- a/dev-util/google-perftools/Manifest +++ b/dev-util/google-perftools/Manifest @@ -4,16 +4,16 @@ Hash: SHA1 AUX google-perftools-1.7-syntax.patch 558 RMD160 f402bb6dc39aa75ffa4038a374f580a9ff31321b SHA1 e420ddb2499c14b12738bf68b7a65a8283f3fd4e SHA256 3c26a876c790f2421502dacda1041e461e322b850e0f17568ea0b65b2aa71f41 DIST google-perftools-1.6.tar.gz 1193915 RMD160 91d67c33abf8ef5ce69c1c71af39564a476ed972 SHA1 b2892d388f35ef09059283b30f7c0a15c66950b4 SHA256 40455b35235da304ad664b05ffbb44a1f65f4ec903e532cf365b2fae9edf1f5e DIST google-perftools-1.7.tar.gz 1207931 RMD160 176451ef2bf6c9090f2446678ff2cca957eb4f42 SHA1 e3a65f71aee9270572f7aafa421858e39da1a9a8 SHA256 65326e3328a84c97d9de79d3f7dfdda6c78d9310217bfb8ac0a0845759e69b15 -DIST google-perftools-1.8.tar.gz 1237245 RMD160 e5da3a852726122745b24306bac9218e657f31d0 SHA1 9490214967913bd579201a60a25320e316d731a5 SHA256 e584563f0f0b4a42d01830e47f24bdb7d797a984184d553d04efcd874f98d519 +DIST google-perftools-1.8.1.tar.gz 1237319 RMD160 5d63f426d973e5f20efc1b103680594595e5daa3 SHA1 e7243b18cb232b3a12f57765d77200dfda5a351b SHA256 e923cae8926882c85507ae1a1dc2a4a19c726e92368d4e7c20ba4b963b0c3215 EBUILD google-perftools-1.6.ebuild 1869 RMD160 231a04a3bf8fd836d33e8b9f9e812a1e6227ae46 SHA1 23d4c51e789f4da4796dbfbd0339962be701bea2 SHA256 2db01bd2e17a13181cfe53ac5c29c121b0ee5e6e428ae9d7df6f171b3c32b681 EBUILD google-perftools-1.7.ebuild 2187 RMD160 d47fdd2e97b7bc1a915d6b5338ff19af3a609b10 SHA1 0e488f02d4d5a5e3e12fff31e06f6aadc84a82ec SHA256 239dc885918bc88a9d221396ecdd5b9668e3b506f74276c349a35076ef2118b7 -EBUILD google-perftools-1.8.ebuild 2128 RMD160 d5af16f0cf97f856fe9889f56eb35cf6cb136046 SHA1 97bae571a4bbb5a1f11d55991d2c82ee6bb698c1 SHA256 265b741f8a17e5a1c30e6be43295283fefd83060ecdec068cfcdb6ad1d1cf629 -MISC ChangeLog 2006 RMD160 c1053f997737a8858362609d8898c212e063b3d5 SHA1 bf204c59a44ff828e54c33b27d8f55956612331a SHA256 7746249bd5b6e73878e7a4dcdcf1a58926d8bd9c84e835d80ea8edc73c3e0134 +EBUILD google-perftools-1.8.1.ebuild 2130 RMD160 c8ca5109fcac39cf1051206951f4277f85aea167 SHA1 c18e3c40c0b34ae5828bce233d814406641c5ac5 SHA256 f6db23d0504b6e6c86430d21f45d772dff2a74e6dcc0474d5d9608685b7f3b8a +MISC ChangeLog 2223 RMD160 f64952ce615d92a4c738e6fe3551d832b480039a SHA1 3a56c2f46fc3760cd3de868669faf5d71aaefd94 SHA256 eb3fd927616b67704bd72bd4dd0d381c072ef005ba8dd76e8f46baffa7acb55c MISC metadata.xml 797 RMD160 7ade14965543a7c05141b7607456d33c9a1033db SHA1 1233782ee45dc0f5d4054d3f9714d21d58325f18 SHA256 f5f6ebc4799060b646c4a9a9514c0d1975eadfe26636aafa851c72996dcd5fb3 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk41ruMACgkQAiZjviIA2Xgt3ACeNpnsFDbjvti+ny8uiCfeBOVW -4jEAn0OjqWdkTIdYkJ8S0iCCoDgbcjx1 -=fxdm +iEYEARECAAYFAk49SZQACgkQAiZjviIA2Xg/+QCcCiRrT4lSkd6TJEPSuQQ86OKf +FmwAoMc0yhbM8t37MDkH7Ls2IoOY0jfY +=uDN6 -----END PGP SIGNATURE----- diff --git a/dev-util/google-perftools/google-perftools-1.8.1.ebuild b/dev-util/google-perftools/google-perftools-1.8.1.ebuild new file mode 100644 index 000000000000..beb36a01b98d --- /dev/null +++ b/dev-util/google-perftools/google-perftools-1.8.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/google-perftools-1.8.1.ebuild,v 1.1 2011/08/06 14:03:01 flameeyes Exp $ + +EAPI=4 + +inherit toolchain-funcs eutils flag-o-matic + +DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools" +HOMEPAGE="http://code.google.com/p/google-perftools/" +SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="largepages +debug minimal" # test" + +DEPEND="sys-libs/libunwind" +RDEPEND="${DEPEND}" + +# tests end up in an infinite loop, even without sandbox +RESTRICT=test + +pkg_setup() { + # set up the make options in here so that we can actually make use + # of them on both compile and install. + + # Avoid building the unit testing if we're not going to execute + # tests; this trick here allows us to ignore the tests without + # touching the build system (and thus without rebuilding + # autotools). Keep commented as long as it's restricted. + + # use test && \ + makeopts="${makeopts} noinst_PROGRAMS= " + + # don't install _anything_ from the documentation, since it would + # install it in non-standard locations, and would just waste time. + makeopts="${makeopts} dist_doc_DATA= " +} + +src_configure() { + use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES + + append-flags -fno-strict-aliasing + + econf \ + --disable-static \ + --disable-dependency-tracking \ + --enable-fast-install \ + $(use_enable debug debugalloc) \ + $(use_enable minimal) +} + +src_compile() { + emake ${makeopts} || die "emake failed" +} + +src_test() { + case "${LD_PRELOAD}" in + *libsandbox*) + ewarn "Unable to run tests when sanbox is enabled." + ewarn "See http://bugs.gentoo.org/290249" + return 0 + ;; + esac + + emake check || die "tests failed" +} + +src_install() { + emake DESTDIR="${D}" install ${makeopts} || die "emake install failed" + + # Remove libtool files since we dropped the static libraries + find "${D}" -name '*.la' -delete + + dodoc README AUTHORS ChangeLog TODO NEWS || die + pushd doc + dohtml -r * || die + popd +} diff --git a/dev-util/google-perftools/google-perftools-1.8.ebuild b/dev-util/google-perftools/google-perftools-1.8.ebuild deleted file mode 100644 index aa07abf7a67d..000000000000 --- a/dev-util/google-perftools/google-perftools-1.8.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $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 $ - -EAPI=4 - -inherit toolchain-funcs eutils flag-o-matic - -DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools" -HOMEPAGE="http://code.google.com/p/google-perftools/" -SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="largepages +debug minimal" # test" - -DEPEND="sys-libs/libunwind" -RDEPEND="${DEPEND}" - -# tests end up in an infinite loop, even without sandbox -RESTRICT=test - -pkg_setup() { - # set up the make options in here so that we can actually make use - # of them on both compile and install. - - # Avoid building the unit testing if we're not going to execute - # tests; this trick here allows us to ignore the tests without - # touching the build system (and thus without rebuilding - # autotools). Keep commented as long as it's restricted. - - # use test && \ - makeopts="${makeopts} noinst_PROGRAMS= " - - # don't install _anything_ from the documentation, since it would - # install it in non-standard locations, and would just waste time. - makeopts="${makeopts} dist_doc_DATA= " -} - -src_configure() { - use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES - - append-flags -fno-strict-aliasing - - econf \ - --disable-static \ - --disable-dependency-tracking \ - --enable-fast-install \ - $(use_enable debug debugalloc) \ - $(use_enable minimal) -} - -src_compile() { - emake ${makeopts} || die "emake failed" -} - -src_test() { - case "${LD_PRELOAD}" in - *libsandbox*) - ewarn "Unable to run tests when sanbox is enabled." - ewarn "See http://bugs.gentoo.org/290249" - return 0 - ;; - esac - - emake check || die "tests failed" -} - -src_install() { - emake DESTDIR="${D}" install ${makeopts} || die "emake install failed" - - # Remove libtool files since we dropped the static libraries - find "${D}" -name '*.la' -delete - - dodoc README AUTHORS ChangeLog TODO NEWS || die - pushd doc - dohtml -r * || die - popd -} -- cgit v1.2.3-65-gdbad