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

(-)a/fio-1.34.ebuild (+9 lines)
Lines 2-7 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/sys-block/fio/fio-1.34.ebuild,v 1.1 2009/09/22 05:21:34 tsunam Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-1.34.ebuild,v 1.1 2009/09/22 05:21:34 tsunam Exp $
4
4
5
EAPI="2"
6
5
inherit eutils toolchain-funcs flag-o-matic
7
inherit eutils toolchain-funcs flag-o-matic
6
8
7
MY_PV="${PV/_rc/-rc}"
9
MY_PV="${PV/_rc/-rc}"
Lines 19-24 Link Here
19
DEPEND="dev-libs/libaio"
21
DEPEND="dev-libs/libaio"
20
RDEPEND="${DEPEND}"
22
RDEPEND="${DEPEND}"
21
23
24
src_prepare() {
25
	sed -i \
26
		-e '/filter /s:-o:$(LDFLAGS) -o:' \
27
		-e '/: depend$/d' \
28
		Makefile || die
29
}
30
22
src_compile() {
31
src_compile() {
23
	append-flags -W
32
	append-flags -W
24
	emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die "emake failed"
33
	emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die "emake failed"

Return to bug 335546