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

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

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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.1.1.ebuild,v 1.3 2006/06/09 20:01:40 griffon26 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/Attic/valgrind-3.1.1.ebuild,v 1.4 2006/06/14 17:07:34 griffon26 Exp $
4 4
5inherit autotools eutils flag-o-matic 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"
9SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" 9SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
10 10
51 filter-flags -fomit-frame-pointer 51 filter-flags -fomit-frame-pointer
52 filter-flags -fpie 52 filter-flags -fpie
53 filter-flags -fstack-protector 53 filter-flags -fstack-protector
54 replace-flags -ggdb3 -ggdb2 54 replace-flags -ggdb3 -ggdb2
55 55
56 # gcc 3.3.x fails to compile valgrind with -O3 (bug #129776)
57 if [ "$(gcc-version)" == "3.3" ] && is-flagq -O3; then
58 ewarn "GCC 3.3 cannot compile valgrind with -O3 in CFLAGS, using -O2 instead."
59 replace-flags -O3 -O2
60 fi
61
56 # Optionally build in X suppression files 62 # Optionally build in X suppression files
57 use X && myconf="--with-x" || myconf="--with-x=no" 63 use X && myconf="--with-x" || myconf="--with-x=no"
58 64
59 econf ${myconf} || die "Configure failed!" 65 econf ${myconf} || die "Configure failed!"
60 emake || die "Make failed!" 66 emake || die "Make failed!"

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20