summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-09-02 16:08:41 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-09-02 16:08:41 +0000
commit3452e73441bf499e48717ecb436edc68f518d676 (patch)
tree2a8d52fd4d805c2a19c013ce9db5999acb0ffc4c /dev-util/valgrind
parentFixed bug #62571 (Manifest recommit) (diff)
downloadgentoo-2-3452e73441bf499e48717ecb436edc68f518d676.tar.gz
gentoo-2-3452e73441bf499e48717ecb436edc68f518d676.tar.bz2
gentoo-2-3452e73441bf499e48717ecb436edc68f518d676.zip
New version, ppc support in
Diffstat (limited to 'dev-util/valgrind')
-rw-r--r--dev-util/valgrind/ChangeLog7
-rw-r--r--dev-util/valgrind/Manifest4
-rw-r--r--dev-util/valgrind/files/digest-valgrind-2.2.02
-rw-r--r--dev-util/valgrind/valgrind-2.2.0.ebuild51
4 files changed, 62 insertions, 2 deletions
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog
index 42001e42be0c..6d70600fd63d 100644
--- a/dev-util/valgrind/ChangeLog
+++ b/dev-util/valgrind/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/valgrind
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.34 2004/08/07 16:36:46 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.35 2004/09/02 16:08:41 lu_zero Exp $
+
+*valgrind-2.2.0 (02 Sep 2004)
+
+ 02 Sep 2004; Luca Barbato <lu_zero@gentoo.org> +valgrind-2.2.0.ebuild:
+ New Version, experimental ppc support available
07 Aug 2004; Luca Barbato <lu_zero@gentoo.org> valgrind-2.1.2.ebuild:
Fix for the system headers wierdness, thanks to Olaf Freyer
diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index d8b84cf4b4b2..9f445c4fd461 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,6 +1,7 @@
+MD5 a78e6f2ebacc067ea1793afefe179277 valgrind-2.2.0.ebuild 1411
MD5 87ba65472b071a1a696226f0e36937d5 valgrind-2.0.0.ebuild 1173
MD5 74af16c4f9ed08248153f39e9181c7be valgrind-2.1.2.ebuild 1099
-MD5 7b75b8fbe8989ee159e38c06fc32b36e ChangeLog 1230
+MD5 1952e15d08ad5eb8989dc3f32c71eaf1 ChangeLog 1385
MD5 f4b910c589410d7ec055b9bda08a32b1 metadata.xml 1001
MD5 36b52cc7f792a5f6944af5e3488fc3cd valgrind-2.1.1-r1.ebuild 1140
MD5 a0b171b6dab7cb44a9eab9bf70738b7c valgrind-2.1.1.ebuild 926
@@ -10,6 +11,7 @@ MD5 f50184c09d0376e66b1b79d0b45e94c2 files/digest-valgrind-2.1.1-r1 67
MD5 95845f5c26fd00027163547288c17e54 files/valgrind-configure.in-2.6.diff 336
MD5 a69fe5652a8ca5fb1d04521fe0c56850 files/digest-valgrind-2.1.0 138
MD5 dd98566219aee764f036fae263b1ce61 files/digest-valgrind-2.1.2 67
+MD5 26192577445b467e528408118f7ee6ec files/digest-valgrind-2.2.0 139
MD5 286d10f4514e8a85360ce6ba5654ae93 files/digest-valgrind-2.0.0 67
MD5 96f4ea73f94e4b969cd764574aeef978 files/valgrind-2.1.2-kernel-headers.patch 826
MD5 f50184c09d0376e66b1b79d0b45e94c2 files/digest-valgrind-2.1.1 67
diff --git a/dev-util/valgrind/files/digest-valgrind-2.2.0 b/dev-util/valgrind/files/digest-valgrind-2.2.0
new file mode 100644
index 000000000000..b7acbc96ccc1
--- /dev/null
+++ b/dev-util/valgrind/files/digest-valgrind-2.2.0
@@ -0,0 +1,2 @@
+MD5 30dc51f6fc94751b90b04af9c2e2c656 valgrind-2.2.0.tar.bz2 964987
+MD5 a9f5bf8d548ceed56343f8298887bb43 valgrind-2.2.0-ppc.tar.bz2 1000093
diff --git a/dev-util/valgrind/valgrind-2.2.0.ebuild b/dev-util/valgrind/valgrind-2.2.0.ebuild
new file mode 100644
index 000000000000..d94fff674dcc
--- /dev/null
+++ b/dev-util/valgrind/valgrind-2.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.2.0.ebuild,v 1.1 2004/09/02 16:08:41 lu_zero Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="An open-source memory debugger for x86-GNU/Linux and ppc-GNU/Linux"
+HOMEPAGE="http://valgrind.kde.org"
+SRC_URI="x86? ( http://developer.kde.org/~sewardj/${P}.tar.bz2 )
+ ppc? ( http://ozlabs.org/~paulus/${P}-ppc.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 -sparc ~ppc -alpha"
+IUSE="X"
+RESTRICT="nostrip"
+
+RDEPEND="virtual/libc
+ X? ( virtual/x11 )"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf"
+
+src_unpack() {
+ unpack ${A}
+ use ppc && cd "${WORKDIR}/${P}-ppc"
+ #ugly but working workaround
+ if has_version '>=sys-kernel/linux26-headers-2.6.7' ; then
+ einfo "Removing net/if.h from the includes in vg_unsafe.h"
+ sed -i -e "s:#include <net/if.h>::" \
+ coregrind/vg_unsafe.h ||die
+ less coregrind/vg_unsafe.h ||die
+ fi
+}
+src_compile() {
+ use ppc && cd "${WORKDIR}/${P}-ppc"
+
+ 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
+ emake || die "emake failed"
+}
+
+src_install() {
+ use ppc && cd "${WORKDIR}/${P}-ppc"
+ einstall docdir="${D}/usr/share/doc/${PF}/html" || die
+ dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README* TODO
+}