summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-05 00:16:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-05 00:16:10 +0000
commit737d3cb4915133f756d57a2b20a3fbbf86aff39f (patch)
tree55c8675c50b299f48e8ffe80a0cc922792555430 /dev-util/valgrind/valgrind-2.0.0.ebuild
parentadded ~amd64 to keywords (diff)
downloadhistorical-737d3cb4915133f756d57a2b20a3fbbf86aff39f.tar.gz
historical-737d3cb4915133f756d57a2b20a3fbbf86aff39f.tar.bz2
historical-737d3cb4915133f756d57a2b20a3fbbf86aff39f.zip
filter-flags into src_compile; tidy
Diffstat (limited to 'dev-util/valgrind/valgrind-2.0.0.ebuild')
-rw-r--r--dev-util/valgrind/valgrind-2.0.0.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-util/valgrind/valgrind-2.0.0.ebuild b/dev-util/valgrind/valgrind-2.0.0.ebuild
index b2db37199d22..8e1c3cb88dd3 100644
--- a/dev-util/valgrind/valgrind-2.0.0.ebuild
+++ b/dev-util/valgrind/valgrind-2.0.0.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.0.0.ebuild,v 1.2 2003/11/14 12:42:38 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.0.0.ebuild,v 1.3 2004/03/05 00:16:10 mr_bones_ Exp $
inherit flag-o-matic
-filter-flags -fPIC
IUSE="X"
MY_P=${P/2.0_pre/}
@@ -31,6 +30,9 @@ KEYWORDS="x86 -sparc -ppc -alpha"
src_compile() {
local myconf
+
+ filter-flags -fPIC
+
use X && myconf="--with-x" || myconf="--with-x=no"
# note: it does not appear safe to play with CFLAGS
econf ${myconf} || die
@@ -39,7 +41,7 @@ src_compile() {
src_install() {
einstall docdir="${D}/usr/share/doc/${PF}" || die
- dodoc ACKNOWLEDGEMENTS AUTHORS COPYING INSTALL NEWS \
+ dodoc ACKNOWLEDGEMENTS AUTHORS INSTALL NEWS \
PATCHES_APPLIED README* TODO ChangeLog FAQ.txt
}