summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-native_2.6.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-native_2.6.6.bb')
-rw-r--r--meta/recipes-devtools/python/python-native_2.6.6.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-native_2.6.6.bb b/meta/recipes-devtools/python/python-native_2.6.6.bb
index 11956a400e..0f9ae10e5a 100644
--- a/meta/recipes-devtools/python/python-native_2.6.6.bb
+++ b/meta/recipes-devtools/python/python-native_2.6.6.bb
@@ -1,12 +1,13 @@
1require python.inc 1require python.inc
2DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native" 2DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native"
3PR = "${INC_PR}.0" 3PR = "${INC_PR}.1"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6"
6 6
7SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ 7SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
8 file://04-default-is-optimized.patch \ 8 file://04-default-is-optimized.patch \
9 file://05-enable-ctypes-cross-build.patch \ 9 file://05-enable-ctypes-cross-build.patch \
10 file://06-ctypes-libffi-fix-configure.patch \
10 file://10-distutils-fix-swig-parameter.patch \ 11 file://10-distutils-fix-swig-parameter.patch \
11 file://11-distutils-never-modify-shebang-line.patch \ 12 file://11-distutils-never-modify-shebang-line.patch \
12 file://12-distutils-prefix-is-inside-staging-area.patch \ 13 file://12-distutils-prefix-is-inside-staging-area.patch \
@@ -27,6 +28,10 @@ EXTRA_OEMAKE = '\
27 STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \ 28 STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \
28' 29'
29 30
31do_configure_prepend() {
32 autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
33}
34
30do_install() { 35do_install() {
31 oe_runmake 'DESTDIR=${D}' install 36 oe_runmake 'DESTDIR=${D}' install
32 install -d ${D}${bindir}/ 37 install -d ${D}${bindir}/