Lines 38-51
Link Here
|
38 |
} |
38 |
} |
39 |
|
39 |
|
40 |
multilib_src_configure() { |
40 |
multilib_src_configure() { |
41 |
# We want to use the "bsd" libraries while building on Darwin, but while |
|
|
42 |
# building on other Gentoo/*BSD we prefer elf-naming scheme. |
43 |
local libtype |
44 |
case ${CHOST} in |
45 |
*-darwin*) libtype=bsd;; |
46 |
*) libtype=elf;; |
47 |
esac |
48 |
|
49 |
# we use blkid/uuid from util-linux now |
41 |
# we use blkid/uuid from util-linux now |
50 |
ac_cv_lib_uuid_uuid_generate=yes \ |
42 |
ac_cv_lib_uuid_uuid_generate=yes \ |
51 |
ac_cv_lib_blkid_blkid_get_cache=yes \ |
43 |
ac_cv_lib_blkid_blkid_get_cache=yes \ |
Lines 54-60
Link Here
|
54 |
econf \ |
46 |
econf \ |
55 |
--disable-lib{blkid,uuid} \ |
47 |
--disable-lib{blkid,uuid} \ |
56 |
--disable-quota \ |
48 |
--disable-quota \ |
57 |
--enable-${libtype}-shlibs \ |
49 |
$(tc-is-static-only || echo --enable-elf-shlibs) \ |
58 |
$(tc-has-tls || echo --disable-tls) \ |
50 |
$(tc-has-tls || echo --disable-tls) \ |
59 |
$(use_enable nls) |
51 |
$(use_enable nls) |
60 |
} |
52 |
} |