dev-lang/python:{2.7,3.4,3.5}: Move epatch_user call before sedding libdir. Bug #574962.

This allows sharing patches between different architectures where libdir differ.

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2016-02-17 22:08:07 +01:00
parent 8d4345c510
commit 38d84cce8a
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -104,6 +104,8 @@ src_prepare() {
epatch "${FILESDIR}/python-2.7.10-cross-compile-warn-test.patch"
epatch "${FILESDIR}/python-2.7.10-system-libffi.patch"
epatch_user
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
Lib/distutils/command/install.py \
Lib/distutils/sysconfig.py \
@@ -115,8 +117,6 @@ src_prepare() {
Modules/getpath.c \
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
epatch_user
eautoreconf
}