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

Collapse All | Expand All

(-)python-2.5.4-r2.ebuild.old (+15 lines)
Lines 64-69 Link Here
64
	fi
64
	fi
65
65
66
	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
66
	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
67
68
	if tc-is-cross-compiler ; then
69
		# Change setup.py to respect the SYSROOT environment variable
70
		epatch "${FILESDIR}/python-2.5.2-cross-setup-sysroot.patch"
71
	fi
72
	# Compilation of the ctypes extension fails for archs that do not have FFI_CLOSURES.
73
	# This fixes the compilation and makes ctypes also available to those archs.
74
	epatch "${FILESDIR}/${P}"-enable-ctypes-module.patch
75
	# Add a libdirname to enable python cross-compiling and add a user specifyable libdir
76
	epatch "${FILESDIR}/${P}"-cross-Makefile.pre.in.patch
77
	# Make distutils cross-compile aware
78
	epatch "${FILESDIR}"/python-2.5.2-cross-distutils-sysconfig.patch
79
	epatch "${FILESDIR}"/python-2.5.2-cross-distutils-build_ext.patch
80
	epatch "${FILESDIR}"/python-2.5.2-cross-distutils-install.patch
81
67
	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
82
	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
68
		Lib/distutils/command/install.py \
83
		Lib/distutils/command/install.py \
69
		Lib/distutils/sysconfig.py \
84
		Lib/distutils/sysconfig.py \

Return to bug 268887