diff options
author | Dominik Kapusta <ayoy@gentoo.org> | 2009-10-16 17:23:16 +0000 |
---|---|---|
committer | Dominik Kapusta <ayoy@gentoo.org> | 2009-10-16 17:23:16 +0000 |
commit | 8d63fe1acf02e0197e4fb505e548d221e2e5e5e0 (patch) | |
tree | c52a565d11036371c6508717590058cc9de710e0 /dev-embedded | |
parent | Version bump (diff) | |
download | gentoo-2-8d63fe1acf02e0197e4fb505e548d221e2e5e5e0.tar.gz gentoo-2-8d63fe1acf02e0197e4fb505e548d221e2e5e5e0.tar.bz2 gentoo-2-8d63fe1acf02e0197e4fb505e548d221e2e5e5e0.zip |
Fixed to avoid possible distcc issues
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/scratchbox/ChangeLog | 5 | ||||
-rw-r--r-- | dev-embedded/scratchbox/scratchbox-2.0.ebuild | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-embedded/scratchbox/ChangeLog b/dev-embedded/scratchbox/ChangeLog index b6bd273e8d9d..27b0cf9dcde3 100644 --- a/dev-embedded/scratchbox/ChangeLog +++ b/dev-embedded/scratchbox/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-embedded/scratchbox # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/ChangeLog,v 1.7 2009/10/16 16:55:51 ayoy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/ChangeLog,v 1.8 2009/10/16 17:23:16 ayoy Exp $ + + 16 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> scratchbox-2.0.ebuild: + Fixed to avoid possible distcc issues 16 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> scratchbox-2.0.ebuild: Keywording for x86 diff --git a/dev-embedded/scratchbox/scratchbox-2.0.ebuild b/dev-embedded/scratchbox/scratchbox-2.0.ebuild index e643ac96deb3..4a184814c83a 100644 --- a/dev-embedded/scratchbox/scratchbox-2.0.ebuild +++ b/dev-embedded/scratchbox/scratchbox-2.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/scratchbox-2.0.ebuild,v 1.2 2009/10/16 16:55:51 ayoy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/scratchbox-2.0.ebuild,v 1.3 2009/10/16 17:23:16 ayoy Exp $ EAPI="2" -inherit autotools eutils +inherit autotools eutils toolchain-funcs MY_PN="${PN/cratch}2" MY_P="${MY_PN}-${PV}" @@ -26,6 +26,12 @@ S="${WORKDIR}/${MY_P}" src_prepare() { epatch "${FILESDIR}/${P}-glibc-2.10.patch" epatch "${FILESDIR}/${P}-gentoo.patch" + + sed -e "s/^\(CC = \).*/\1$(tc-getCC)/" \ + -e "s/^\(CXX = \).*/\1$(tc-getCXX)/" \ + -e "s/^\(LD = \).*/\1$(tc-getLD)/" \ + -i Makefile || die "sed Makefile failed" + eautoreconf } |