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/mail-filter/dcc/dcc-1.3.140-r1.ebuild,v 1.10 2012/12/30 14:27:13 ago Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.140-r1.ebuild,v 1.10 2012/12/30 14:27:13 ago Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit eutils flag-o-matic toolchain-funcs |
7 |
inherit eutils flag-o-matic toolchain-funcs |
8 |
|
8 |
|
Lines 34-39
Link Here
|
34 |
} |
34 |
} |
35 |
|
35 |
|
36 |
src_configure() { |
36 |
src_configure() { |
|
|
37 |
tc-export CC AR RANLIB |
38 |
|
37 |
local myconf |
39 |
local myconf |
38 |
myconf="${myconf} --homedir=${dcc_homedir}" |
40 |
myconf="${myconf} --homedir=${dcc_homedir}" |
39 |
myconf="${myconf} --bindir=/usr/bin" |
41 |
myconf="${myconf} --bindir=/usr/bin" |
Lines 71-79
Link Here
|
71 |
./configure ${myconf} || die "configure failed!" |
73 |
./configure ${myconf} || die "configure failed!" |
72 |
} |
74 |
} |
73 |
|
75 |
|
74 |
src_compile() { |
|
|
75 |
emake CC="$(tc-getCC)" || die "emake failed!" |
76 |
} |
77 |
|
76 |
|
78 |
moveconf() { |
77 |
moveconf() { |
79 |
local into=/etc/dcc/ |
78 |
local into=/etc/dcc/ |