--- /usr/portage/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild 2011-10-03 09:17:49.000000000 -0600 +++ mpfr-2.4.2_p3-r1.ebuild 2013-07-04 15:09:04.035221868 -0600 @@ -6,7 +6,7 @@ EAPI="3" -inherit eutils +inherit eutils libtool MY_PV=${PV/_p*} MY_P=${PN}-${MY_PV} @@ -28,6 +28,9 @@ epatch "${FILESDIR}"/${MY_PV}/patch* sed -i '/if test/s:==:=:' configure #261016 find . -type f -print0 | xargs -0 touch -r configure + + # needed for FreeMiNT + [[ ${CHOST} == *-mint* ]] && elibtoolize } src_configure() { @@ -40,5 +43,5 @@ src_install() { emake install-libLTLIBRARIES DESTDIR="${D}" || die - rm "${D}"/usr/*/libmpfr.{la,so} || die + rm "${ED}"/usr/*/libmpfr.{la,so,dylib,a} || die }