Lines 9-15
Link Here
|
9 |
*) UP_PV=${PV} ;; |
9 |
*) UP_PV=${PV} ;; |
10 |
esac |
10 |
esac |
11 |
|
11 |
|
12 |
inherit toolchain-funcs eutils multilib-minimal |
12 |
inherit autotools toolchain-funcs eutils multilib-minimal |
13 |
|
13 |
|
14 |
DESCRIPTION="e2fsprogs libraries (common error and subsystem)" |
14 |
DESCRIPTION="e2fsprogs libraries (common error and subsystem)" |
15 |
HOMEPAGE="http://e2fsprogs.sourceforge.net/" |
15 |
HOMEPAGE="http://e2fsprogs.sourceforge.net/" |
Lines 35-40
Link Here
|
35 |
src_prepare() { |
35 |
src_prepare() { |
36 |
printf 'all:\n%%:;@:\n' > doc/Makefile.in # don't bother with docs #305613 |
36 |
printf 'all:\n%%:;@:\n' > doc/Makefile.in # don't bother with docs #305613 |
37 |
epatch "${FILESDIR}"/${PN}-1.42.9-no-quota.patch |
37 |
epatch "${FILESDIR}"/${PN}-1.42.9-no-quota.patch |
|
|
38 |
epatch "${FILESDIR}"/cross.patch |
39 |
eautoreconf |
38 |
} |
40 |
} |
39 |
|
41 |
|
40 |
multilib_src_configure() { |
42 |
multilib_src_configure() { |
Lines 43-48
Link Here
|
43 |
ac_cv_lib_blkid_blkid_get_cache=yes \ |
45 |
ac_cv_lib_blkid_blkid_get_cache=yes \ |
44 |
ac_cv_path_LDCONFIG=: \ |
46 |
ac_cv_path_LDCONFIG=: \ |
45 |
ECONF_SOURCE="${S}" \ |
47 |
ECONF_SOURCE="${S}" \ |
|
|
48 |
CC="$(tc-getCC)" \ |
49 |
BUILD_CC="$(tc-getBUILD_CC)" \ |
46 |
econf \ |
50 |
econf \ |
47 |
--disable-lib{blkid,uuid} \ |
51 |
--disable-lib{blkid,uuid} \ |
48 |
--disable-quota \ |
52 |
--disable-quota \ |
Lines 51-58
Link Here
|
51 |
$(use_enable nls) |
55 |
$(use_enable nls) |
52 |
} |
56 |
} |
53 |
|
57 |
|
|
|
58 |
multilib_src_compile() { |
59 |
emake V=1 |
60 |
} |
61 |
|
54 |
multilib_src_install() { |
62 |
multilib_src_install() { |
55 |
emake STRIP=: DESTDIR="${D}" install || die |
63 |
emake V=1 STRIP=: DESTDIR="${D}" install || die |
56 |
multilib_is_native_abi && gen_usr_ldscript -a com_err ss |
64 |
multilib_is_native_abi && gen_usr_ldscript -a com_err ss |
57 |
# configure doesn't have an option to disable static libs :/ |
65 |
# configure doesn't have an option to disable static libs :/ |
58 |
use static-libs || find "${ED}" -name '*.a' -delete |
66 |
use static-libs || find "${ED}" -name '*.a' -delete |