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

Collapse All | Expand All

(-)mpfr-2.3.1.ebuild.orig (-1 / +4 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.3.1.ebuild,v 1.7 2008/05/02 04:55:40 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.3.1.ebuild,v 1.7 2008/05/02 04:55:40 vapier Exp $
4
4
5
# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
5
# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
6
inherit eutils
6
inherit eutils toolchain-funcs
7
7
8
MY_PV=${PV/_p*}
8
MY_PV=${PV/_p*}
9
MY_P=${PN}-${MY_PV}
9
MY_P=${PN}-${MY_PV}
Lines 24-29 Link Here
24
src_unpack() {
24
src_unpack() {
25
	unpack "${MY_P}.tar.bz2"
25
	unpack "${MY_P}.tar.bz2"
26
	cd "${S}"
26
	cd "${S}"
27
	if tc-is-cross-compiler ; then
28
		epatch "${FILESDIR}"/${P}-disable-rpath.patch
29
	fi
27
	[[ ${PLEVEL} == ${PV} ]] && return 0
30
	[[ ${PLEVEL} == ${PV} ]] && return 0
28
	for ((i=1; i<=PLEVEL; ++i)) ; do
31
	for ((i=1; i<=PLEVEL; ++i)) ; do
29
		patch=patch$(printf '%02d' ${i})
32
		patch=patch$(printf '%02d' ${i})

Return to bug 230611