diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-26 22:34:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-26 22:34:02 +0000 |
commit | 4a535c8eaf6ade0dba878081e66c35589f08d797 (patch) | |
tree | b78c1fc330edb0896a88d36a3e1c64a23bb0db3f /dev-util/valgrind | |
parent | Added upstrea 1.1.0 version, external FFMPEG disabled as it needs a newer ver... (diff) | |
download | historical-4a535c8eaf6ade0dba878081e66c35589f08d797.tar.gz historical-4a535c8eaf6ade0dba878081e66c35589f08d797.tar.bz2 historical-4a535c8eaf6ade0dba878081e66c35589f08d797.zip |
fix up $S usage for ppc
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-util/valgrind')
-rw-r--r-- | dev-util/valgrind/Manifest | 14 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-2.4.0.ebuild | 19 |
2 files changed, 16 insertions, 17 deletions
diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest index f120d6c93992..f3427f45989f 100644 --- a/dev-util/valgrind/Manifest +++ b/dev-util/valgrind/Manifest @@ -2,18 +2,18 @@ Hash: SHA1 MD5 799f0b61a3a686b4074bd61acc572c5c metadata.xml 1003 -MD5 0ab719f9f994394bbf150f4c8837fe73 ChangeLog 4496 +MD5 98fd3a4e78d2c75a2de9d2f7595a649c valgrind-2.4.0.ebuild 1407 MD5 9c6171e63f2c500b26cd6c2dd98d42e8 valgrind-2.2.0-r2.ebuild 1716 -MD5 f42acfa473aaf04eac429e3ac5467979 valgrind-2.4.0.ebuild 1502 +MD5 0ab719f9f994394bbf150f4c8837fe73 ChangeLog 4496 MD5 fc1dda2b6f2603a4244ad25f555f2034 files/valgrind-2.2.0-no-exec-stack.patch 1711 -MD5 26192577445b467e528408118f7ee6ec files/digest-valgrind-2.2.0-r2 139 +MD5 e878f97b4c6308515baf5abaee045ce7 files/valgrind-2.4.0-pie-fix.patch 2335 MD5 d10a593e8cb1c5074c438adc226d1c81 files/valgrind-2.2.0-current-macro-clash.patch 1871 MD5 c6fe697b4c25fb9e5c7482496ebabf06 files/digest-valgrind-2.4.0 140 -MD5 e878f97b4c6308515baf5abaee045ce7 files/valgrind-2.4.0-pie-fix.patch 2335 +MD5 26192577445b467e528408118f7ee6ec files/digest-valgrind-2.2.0-r2 139 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCwbSPMGnpIbeahxwRAoKKAJ9lgXqSyJXAVYvEx3Hl1MtpXMmdJgCgs0Ht -aoqPfotfEU6YUXmpUBjKeMs= -=0N0z +iD8DBQFC5rppgIKl8Uu19MoRAkzuAJ0VPF+LmQNYOqvKH3o+quSHMTsq8wCeLVqC +BAF1K7AGvSH4lVZobczpEcs= +=Hs1+ -----END PGP SIGNATURE----- diff --git a/dev-util/valgrind/valgrind-2.4.0.ebuild b/dev-util/valgrind/valgrind-2.4.0.ebuild index aa3a20da2f43..1c7619345252 100644 --- a/dev-util/valgrind/valgrind-2.4.0.ebuild +++ b/dev-util/valgrind/valgrind-2.4.0.ebuild @@ -1,28 +1,30 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.4.0.ebuild,v 1.6 2005/06/28 20:34:57 griffon26 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.4.0.ebuild,v 1.7 2005/07/26 22:34:02 vapier 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://www.valgrind.org/downloads/${P}.tar.bz2 ) - ppc? ( http://www.valgrind.org/downloads/pmk/${P}-ppc.tar.bz2 )" + ppc? ( http://www.valgrind.org/downloads/pmk/${P}-ppc.tar.bz2 )" LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~ppc x86" IUSE="X" -RESTRICT="nostrip" +RESTRICT="strip" -RDEPEND="virtual/libc - X? ( virtual/x11 )" +RDEPEND="X? ( virtual/x11 )" DEPEND="${RDEPEND} sys-devel/autoconf" +use ppc && \ +S=${WORKDIR}/${P}-ppc + src_unpack() { unpack ${A} - use ppc && cd "${WORKDIR}/${P}-ppc" || cd ${S} + cd "${S}" # make sure our CFLAGS are respected einfo "Changing configure to respect CFLAGS" @@ -30,12 +32,10 @@ src_unpack() { # Enables valgrind to build with PIE and disables PIE for # tests that fail to build with it - epatch ${FILESDIR}/${P}-pie-fix.patch + epatch "${FILESDIR}"/${P}-pie-fix.patch } src_compile() { - use ppc && cd "${WORKDIR}/${P}-ppc" - local myconf filter-flags -fstack-protector -fomit-frame-pointer @@ -48,7 +48,6 @@ src_compile() { } 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 } |