--- /usr/portage/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.9.ebuild 2013-12-31 12:07:47.000000000 -0700 +++ e2fsprogs-libs-1.42.9.ebuild 2014-01-16 11:45:52.801248426 -0700 @@ -38,14 +38,6 @@ } multilib_src_configure() { - # We want to use the "bsd" libraries while building on Darwin, but while - # building on other Gentoo/*BSD we prefer elf-naming scheme. - local libtype - case ${CHOST} in - *-darwin*) libtype=bsd;; - *) libtype=elf;; - esac - # we use blkid/uuid from util-linux now ac_cv_lib_uuid_uuid_generate=yes \ ac_cv_lib_blkid_blkid_get_cache=yes \ @@ -54,7 +46,7 @@ econf \ --disable-lib{blkid,uuid} \ --disable-quota \ - --enable-${libtype}-shlibs \ + $(tc-is-static-only || echo --enable-elf-shlibs) \ $(tc-has-tls || echo --disable-tls) \ $(use_enable nls) }