diff options
Diffstat (limited to 'dev-util/valgrind/valgrind-2.1.0.ebuild')
-rw-r--r-- | dev-util/valgrind/valgrind-2.1.0.ebuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/dev-util/valgrind/valgrind-2.1.0.ebuild b/dev-util/valgrind/valgrind-2.1.0.ebuild index d8088e0cd7e3..643f545b6b24 100644 --- a/dev-util/valgrind/valgrind-2.1.0.ebuild +++ b/dev-util/valgrind/valgrind-2.1.0.ebuild @@ -1,24 +1,27 @@ -# 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.1.0.ebuild,v 1.2 2003/12/17 14:26:04 tseng Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.1.0.ebuild,v 1.3 2004/03/05 00:16:10 mr_bones_ Exp $ inherit flag-o-matic -filter-flags -fPIC -IUSE="X" DESCRIPTION="An open-source memory debugger for x86-GNU/Linux" HOMEPAGE="http://valgrind.kde.org" SRC_URI="http://developer.kde.org/~sewardj/${P}.tar.bz2" -DEPEND="virtual/glibc - sys-devel/autoconf - X? ( virtual/x11 )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 -sparc -ppc -alpha" +IUSE="X" + +DEPEND="virtual/glibc + sys-devel/autoconf + X? ( virtual/x11 )" 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 @@ -27,7 +30,6 @@ 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 } - |