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 |
if [[ ${CHOST} == *-mint* ]]; then |
39 |
sed -i -e 's/_SVID_SOURCE/_GNU_SOURCE/' lib/uuid/gen_uuid.c || die |
40 |
fi |
38 |
} |
41 |
} |
39 |
|
42 |
|
40 |
multilib_src_configure() { |
43 |
multilib_src_configure() { |
Lines 42-49
Link Here
|
42 |
# building on other Gentoo/*BSD we prefer elf-naming scheme. |
45 |
# building on other Gentoo/*BSD we prefer elf-naming scheme. |
43 |
local libtype |
46 |
local libtype |
44 |
case ${CHOST} in |
47 |
case ${CHOST} in |
45 |
*-darwin*) libtype=bsd;; |
48 |
*-darwin*) libtype=--enable-bsd-shlibs ;; |
46 |
*) libtype=elf;; |
49 |
*-mint*) libtype= ;; |
|
|
50 |
*) libtype=--enable-elf-shlibs ;; |
47 |
esac |
51 |
esac |
48 |
|
52 |
|
49 |
# we use blkid/uuid from util-linux now |
53 |
# we use blkid/uuid from util-linux now |
Lines 54-60
Link Here
|
54 |
econf \ |
58 |
econf \ |
55 |
--disable-lib{blkid,uuid} \ |
59 |
--disable-lib{blkid,uuid} \ |
56 |
--disable-quota \ |
60 |
--disable-quota \ |
57 |
--enable-${libtype}-shlibs \ |
61 |
${libtype} \ |
58 |
$(tc-has-tls || echo --disable-tls) \ |
62 |
$(tc-has-tls || echo --disable-tls) \ |
59 |
$(use_enable nls) |
63 |
$(use_enable nls) |
60 |
} |
64 |
} |