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 | 799d7fd427ef5e381bfea57467020fe7cdd4acca (patch) | |
tree | 7a1b05ab8bccd38ea1de649379b00eff79f36aa8 /dev-util/valgrind | |
parent | Added upstrea 1.1.0 version, external FFMPEG disabled as it needs a newer ver... (diff) | |
download | gentoo-2-799d7fd427ef5e381bfea57467020fe7cdd4acca.tar.gz gentoo-2-799d7fd427ef5e381bfea57467020fe7cdd4acca.tar.bz2 gentoo-2-799d7fd427ef5e381bfea57467020fe7cdd4acca.zip |
fix up $S usage for ppc
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-util/valgrind')
-rw-r--r-- | dev-util/valgrind/valgrind-2.4.0.ebuild | 19 |
1 files changed, 9 insertions, 10 deletions
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 } |