summaryrefslogtreecommitdiff
path: root/package/python2/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-04 14:37:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-04 14:37:11 +0100
commitcb78e74dce8c998fe4075d998def392f03a25876 (patch)
tree8a7b7cf40f4136a78b397fd32a8d71d1ff5b287d /package/python2/patches
parent57990dc4e570646f4d08c22ba645a458fd7524a1 (diff)
fix cross-compile on MacOS X host
Diffstat (limited to 'package/python2/patches')
-rw-r--r--package/python2/patches/patch-configure17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/python2/patches/patch-configure b/package/python2/patches/patch-configure
new file mode 100644
index 000000000..8c9893234
--- /dev/null
+++ b/package/python2/patches/patch-configure
@@ -0,0 +1,17 @@
+--- Python-2.7.orig/configure 2010-05-28 17:28:47.000000000 +0200
++++ Python-2.7/configure 2010-11-04 14:13:05.000000000 +0100
+@@ -2972,12 +2972,12 @@ fi
+ $as_echo_n "checking MACHDEP... " >&6; }
+ if test -z "$MACHDEP"
+ then
+- ac_sys_system=`uname -s`
++ ac_sys_system=Linux
+ if test "$ac_sys_system" = "AIX" \
+ -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
+ ac_sys_release=`uname -v`
+ else
+- ac_sys_release=`uname -r`
++ ac_sys_release=2.6
+ fi
+ ac_md_system=`echo $ac_sys_system |
+ tr -d '/ ' | tr '[A-Z]' '[a-z]'`