Lines 11-17
Link Here
|
11 |
KEYWORDS="x86 amd64 hppa ~ppc" |
11 |
KEYWORDS="x86 amd64 hppa ~ppc" |
12 |
SLOT="0" |
12 |
SLOT="0" |
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
IUSE="nls" |
14 |
IUSE="nls static" |
15 |
|
15 |
|
16 |
#debianutils is for 'readlink' |
16 |
#debianutils is for 'readlink' |
17 |
DEPEND="${DEPEND} |
17 |
DEPEND="${DEPEND} |
Lines 28-38
Link Here
|
28 |
} |
28 |
} |
29 |
|
29 |
|
30 |
src_compile() { |
30 |
src_compile() { |
31 |
econf \ |
31 |
myconf="`use_enable nls`" |
32 |
--enable-dynamic-e2fsck \ |
32 |
use static || myconf="${myconf} --enable-dynamic-e2fsck --enable-elf-shlibs" |
33 |
--enable-elf-shlibs \ |
33 |
use static && myconf="${myconf} --with-ldopts=-static" |
34 |
`use_enable nls` \ |
34 |
econf ${myconf} || die |
35 |
|| die |
|
|
36 |
|
35 |
|
37 |
# Parallel make sometimes fails |
36 |
# Parallel make sometimes fails |
38 |
MAKEOPTS="-j1" emake || die |
37 |
MAKEOPTS="-j1" emake || die |