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

(-)a/par-1.1.ebuild (+7 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/app-arch/par/par-1.1.ebuild,v 1.27 2010/01/01 19:37:12 fauli Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/par/par-1.1.ebuild,v 1.27 2010/01/01 19:37:12 fauli Exp $
4
4
5
EAPI=2
5
inherit toolchain-funcs
6
inherit toolchain-funcs
6
7
7
DESCRIPTION="Parchive archive fixing tool"
8
DESCRIPTION="Parchive archive fixing tool"
Lines 19-24 Link Here
19
20
20
S="${WORKDIR}"/par-cmdline
21
S="${WORKDIR}"/par-cmdline
21
22
23
src_prepare() {
24
	sed -i \
25
		-e 's/\$(CC)/$(LINK.o)/' \
26
		Makefile || die "sed failed"
27
}
28
22
src_compile() {
29
src_compile() {
23
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
30
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
24
}
31
}

Return to bug 332479