--- libmikmod-3.2.0_beta2-r3.ebuild 2012-02-07 00:46:32.000000000 +0300 +++ libmikmod-3.2.0_beta2-r4.ebuild 2012-02-07 21:19:22.201822521 +0300 @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" # Enable OSS by default since ALSA support isn't available, look below -IUSE="+oss raw" +IUSE="+oss raw static-libs" S=${WORKDIR}/${MY_P} @@ -44,13 +44,16 @@ --disable-af \ --disable-alsa \ --disable-esd \ - $(use_enable oss) + $(use_enable oss) \ + $(use_enable static-libs static) } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS NEWS README TODO dohtml docs/*.html + + use static-libs || find "${D}" -name '*.la' -delete } pkg_postinst() {