/[gentoo-x86]/dev-util/valgrind/valgrind-3.2.1.ebuild
Gentoo

Diff of /dev-util/valgrind/valgrind-3.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/Attic/valgrind-3.2.1.ebuild,v 1.5 2007/02/13 17:35:12 wolf31o2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/Attic/valgrind-3.2.1.ebuild,v 1.6 2007/06/25 21:59:52 mr_bones_ Exp $
4 4
5inherit autotools eutils flag-o-matic toolchain-funcs 5inherit autotools eutils flag-o-matic toolchain-funcs
6 6
7DESCRIPTION="An open-source memory debugger for GNU/Linux" 7DESCRIPTION="An open-source memory debugger for GNU/Linux"
8HOMEPAGE="http://www.valgrind.org" 8HOMEPAGE="http://www.valgrind.org"
38 38
39 # Don't reject glibc-2.5 39 # Don't reject glibc-2.5
40 epatch "${FILESDIR}/${P}-glibc-2.5.patch" 40 epatch "${FILESDIR}/${P}-glibc-2.5.patch"
41 41
42 # Remove defaulting to ppc32-linux on ppc64 without multilib 42 # Remove defaulting to ppc32-linux on ppc64 without multilib
43 # "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': 43 # "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux':
44 # No such file or directory" 44 # No such file or directory"
45 if use ppc64 && ! has_multilib_profile; then 45 if use ppc64 && ! has_multilib_profile; then
46 epatch "${FILESDIR}/${P}-only64bit.patch" 46 epatch "${FILESDIR}/${P}-only64bit.patch"
47 fi 47 fi
48 48
55 55
56 # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" 56 # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression"
57 # while compiling insn_sse.c in none/tests/x86 57 # while compiling insn_sse.c in none/tests/x86
58 # -fpie valgrind seemingly hangs when built with pie on 58 # -fpie valgrind seemingly hangs when built with pie on
59 # amd64 (bug #102157) 59 # amd64 (bug #102157)
60 # -fstack-protector more undefined references to __guard and __stack_smash_handler 60 # -fstack-protector more undefined references to __guard and __stack_smash_handler
61 # because valgrind doesn't link to glibc (bug #114347) 61 # because valgrind doesn't link to glibc (bug #114347)
62 # -ggdb3 segmentation fault on startup 62 # -ggdb3 segmentation fault on startup
63 filter-flags -fomit-frame-pointer 63 filter-flags -fomit-frame-pointer
64 filter-flags -fpie 64 filter-flags -fpie
65 filter-flags -fstack-protector 65 filter-flags -fstack-protector
84 84
85src_install() { 85src_install() {
86 make DESTDIR="${D}" install || die "Install failed!" 86 make DESTDIR="${D}" install || die "Install failed!"
87 dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README* 87 dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README*
88} 88}
89

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20