Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 334711 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild (-1 / +4 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild,v 1.27 2008/08/17 08:19:51 aballier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild,v 1.27 2008/08/17 08:19:51 aballier Exp $
4
4
5
inherit eutils
5
inherit eutils toolchain-funcs
6
6
7
IUSE=""
7
IUSE=""
8
8
Lines 24-29 Link Here
24
	unpack ${A}
24
	unpack ${A}
25
	cd "${S}"
25
	cd "${S}"
26
26
27
	epatch "${FILESDIR}/${P}-respect-ldflags.patch"
28
27
	sed -i \
29
	sed -i \
28
		-e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
30
		-e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
29
		-e 's|/usr/local/include||g' \
31
		-e 's|/usr/local/include||g' \
Lines 38-43 Link Here
38
}
40
}
39
41
40
src_compile() {
42
src_compile() {
43
	tc-export CXX
41
	# It sets CXXFLAGS to CFLAGS, can be wrong..
44
	# It sets CXXFLAGS to CFLAGS, can be wrong..
42
	# Just set CXXFLAGS to what they should be
45
	# Just set CXXFLAGS to what they should be
43
	emake CXXFLAGS="$CXXFLAGS -I. -fPIC" || die
46
	emake CXXFLAGS="$CXXFLAGS -I. -fPIC" || die

Return to bug 334711