summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-11-14 09:15:30 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-11-14 09:15:30 +0000
commit6d39b1ea1d90f6306a14d1823eac97e968c0c9e0 (patch)
tree62e01a7f4108f0b10dc7cc2999d983b739703b92 /media-gfx/sam2p/sam2p-0.45-r1.ebuild
parentRequire libX11 built with USE=-xcb. (diff)
downloadgentoo-2-6d39b1ea1d90f6306a14d1823eac97e968c0c9e0.tar.gz
gentoo-2-6d39b1ea1d90f6306a14d1823eac97e968c0c9e0.tar.bz2
gentoo-2-6d39b1ea1d90f6306a14d1823eac97e968c0c9e0.zip
fix build with distcc instead of disabling it, by David Leverton <levertond@googlemail.com>, bug #245333
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.5 x86_64)
Diffstat (limited to 'media-gfx/sam2p/sam2p-0.45-r1.ebuild')
-rw-r--r--media-gfx/sam2p/sam2p-0.45-r1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/media-gfx/sam2p/sam2p-0.45-r1.ebuild b/media-gfx/sam2p/sam2p-0.45-r1.ebuild
index edb0167b6627..f911c161b04e 100644
--- a/media-gfx/sam2p/sam2p-0.45-r1.ebuild
+++ b/media-gfx/sam2p/sam2p-0.45-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.45-r1.ebuild,v 1.9 2008/10/07 06:02:21 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.45-r1.ebuild,v 1.10 2008/11/14 09:15:30 aballier Exp $
inherit toolchain-funcs eutils autotools
@@ -24,13 +24,12 @@ src_unpack() {
epatch "${FILESDIR}/${P}-nostrip.patch"
epatch "${FILESDIR}/${P}-cflags.patch"
epatch "${FILESDIR}/${P}-parallelmake.patch"
+ epatch "${FILESDIR}/${P}-distcc.patch"
eautoreconf
}
src_compile() {
tc-export CXX
- # Makedep fails with distcc
- PATH=${PATH/\/usr\/lib\/distcc\/bin:}
econf --enable-lzw $(use_enable gif) || die "econf failed"
emake || die "make failed"
}