Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 333747
Collapse All | Expand All

(-)miniaudicle-0.1.3.8-r1.ebuild (-4 / +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-sound/miniaudicle/miniaudicle-0.1.3.8-r1.ebuild,v 1.5 2011/03/29 12:38:47 angelos Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/miniaudicle/miniaudicle-0.1.3.8-r1.ebuild,v 1.5 2011/03/29 12:38:47 angelos Exp $
4
4
5
EAPI=2
5
EAPI=5
6
WX_GTK_VER=2.8
6
WX_GTK_VER=2.8
7
inherit eutils toolchain-funcs flag-o-matic wxwidgets
7
inherit eutils toolchain-funcs flag-o-matic wxwidgets
8
8
Lines 42-48 Link Here
42
	epatch "${FILESDIR}/${P}-void-to-int-cast.patch"
42
	epatch "${FILESDIR}/${P}-void-to-int-cast.patch"
43
43
44
	sed -i -e "s/make -C/#make -C/" \
44
	sed -i -e "s/make -C/#make -C/" \
45
		-e "s/g++/\$(CXX)/" \
45
		-e "s/g++/\$(CXX) \$(LDFLAGS)/" \
46
		-e "s/-O3 -c/-c \$(CFLAGS)/" \
46
		-e "s/-O3 -c/-c \$(CFLAGS)/" \
47
		makefile.* || die "sed failed"
47
		makefile.* || die "sed failed"
48
}
48
}
Lines 52-61 Link Here
52
	einfo "Compiling against ${backend}"
52
	einfo "Compiling against ${backend}"
53
	cd "${S}/chuck/src"
53
	cd "${S}/chuck/src"
54
	emake -f "makefile.${backend}" CC=$(tc-getCC) \
54
	emake -f "makefile.${backend}" CC=$(tc-getCC) \
55
		CXX=$(tc-getCXX) || die "emake failed"
55
		CXX=$(tc-getCXX) LDFLAGS="${LDFLAGS}"
56
	cd "${S}"
56
	cd "${S}"
57
	emake -f "makefile.${backend}" CC=$(tc-getCC) \
57
	emake -f "makefile.${backend}" CC=$(tc-getCC) \
58
		CXX=$(tc-getCXX) || die "emake failed"
58
		CXX=$(tc-getCXX) LDFLAGS="${LDFLAGS}"
59
	mv wxw/miniAudicle{,-${backend}}
59
	mv wxw/miniAudicle{,-${backend}}
60
	emake -f "makefile.${backend}" clean
60
	emake -f "makefile.${backend}" clean
61
	cd "${S}/chuck/src"
61
	cd "${S}/chuck/src"

Return to bug 333747