summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/valgrind/valgrind-2.0_pre20030725.ebuild')
-rw-r--r--dev-util/valgrind/valgrind-2.0_pre20030725.ebuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/dev-util/valgrind/valgrind-2.0_pre20030725.ebuild b/dev-util/valgrind/valgrind-2.0_pre20030725.ebuild
index f282e0c4211a..11f238932f4d 100644
--- a/dev-util/valgrind/valgrind-2.0_pre20030725.ebuild
+++ b/dev-util/valgrind/valgrind-2.0_pre20030725.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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_pre20030725.ebuild,v 1.1 2003/08/09 15:27:53 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.0_pre20030725.ebuild,v 1.2 2003/08/15 16:25:09 solar Exp $
IUSE="X"
@@ -11,11 +11,22 @@ DESCRIPTION="An open-source memory debugger for x86-GNU/Linux"
HOMEPAGE="http://developer.kde.org/~sewardj"
SRC_URI="http://developer.kde.org/~sewardj/${MY_P}.tar.bz2"
DEPEND="virtual/glibc
+ sys-devel/autoconf
X? ( virtual/x11 )"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 -sparc -ppc -alpha"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ if [ `uname -r | awk -F . '{print $2}'` == 6 ]; then
+ epatch ${FILESDIR}/${PN}-configure.in-2.6.diff
+ autoconf || die "error while running autoconf"
+ fi
+}
+
src_compile() {
local myconf
use X && myconf="--with-x" || myconf="--with-x=no"