Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 476336 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild (-2 / +5 lines)
Lines 6-12 Link Here
6
6
7
EAPI="3"
7
EAPI="3"
8
8
9
inherit eutils
9
inherit eutils libtool
10
10
11
MY_PV=${PV/_p*}
11
MY_PV=${PV/_p*}
12
MY_P=${PN}-${MY_PV}
12
MY_P=${PN}-${MY_PV}
Lines 28-33 Link Here
28
	epatch "${FILESDIR}"/${MY_PV}/patch*
28
	epatch "${FILESDIR}"/${MY_PV}/patch*
29
	sed -i '/if test/s:==:=:' configure #261016
29
	sed -i '/if test/s:==:=:' configure #261016
30
	find . -type f -print0 | xargs -0 touch -r configure
30
	find . -type f -print0 | xargs -0 touch -r configure
31
32
	# needed for FreeMiNT
33
	[[ ${CHOST} == *-mint* ]] && elibtoolize
31
}
34
}
32
35
33
src_configure() {
36
src_configure() {
Lines 40-44 Link Here
40
43
41
src_install() {
44
src_install() {
42
	emake install-libLTLIBRARIES DESTDIR="${D}" || die
45
	emake install-libLTLIBRARIES DESTDIR="${D}" || die
43
	rm "${D}"/usr/*/libmpfr.{la,so} || die
46
	rm "${ED}"/usr/*/libmpfr.{la,so,dylib,a} || die
44
}
47
}

Return to bug 476336