summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-03 18:16:06 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-03 18:16:06 +0100
commite6905e7a46dc8a218eb67d38f3250363ade738ab (patch)
tree64ea3e0f64e0cf167362e405d68135ffb7a27849 /package
parentd0dfec5eba30b6c61d112ef3b71c27509e7d1943 (diff)
fix pycurl build
Diffstat (limited to 'package')
-rw-r--r--package/pycurl/Makefile2
-rw-r--r--package/python2/Makefile2
-rw-r--r--package/python2/patches/patch-Lib_distutils_sysconfig_py10
3 files changed, 12 insertions, 2 deletions
diff --git a/package/pycurl/Makefile b/package/pycurl/Makefile
index 8f36efa82..c71552044 100644
--- a/package/pycurl/Makefile
+++ b/package/pycurl/Makefile
@@ -8,7 +8,7 @@ PKG_VERSION:= 7.19.0
PKG_RELEASE:= 1
PKG_MD5SUM:= 919d58fe37e69fe87ce4534d8b6a1c7b
PKG_DESCR:= Python module for fetching of files
-PKG_SECTION:= misc
+PKG_SECTION:= lang
PKG_BUILDDEP:= python2 curl
PKG_DEPENDS:= python2 libcurl
PKG_URL:= http://pycurl.sourceforge.net/
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 948a012d4..ee4768c3d 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= python2
PKG_VERSION:= 2.7.5
-PKG_RELEASE:= 4
+PKG_RELEASE:= 5
PKG_MD5SUM:= b4f01a1d0ba0b46b05c73b2ac909b1df
PKG_DESCR:= Python scripting language (Version 2)
PKG_SECTION:= lang
diff --git a/package/python2/patches/patch-Lib_distutils_sysconfig_py b/package/python2/patches/patch-Lib_distutils_sysconfig_py
new file mode 100644
index 000000000..30aae0816
--- /dev/null
+++ b/package/python2/patches/patch-Lib_distutils_sysconfig_py
@@ -0,0 +1,10 @@
+--- Python-2.7.5.orig/Lib/distutils/sysconfig.py 2013-05-12 05:32:42.000000000 +0200
++++ Python-2.7.5/Lib/distutils/sysconfig.py 2013-11-03 18:03:53.000000000 +0100
+@@ -76,6 +76,7 @@ def get_python_inc(plat_specific=0, pref
+ """
+ if prefix is None:
+ prefix = plat_specific and EXEC_PREFIX or PREFIX
++ prefix = re.sub('host_', 'target_', prefix)
+
+ if os.name == "posix":
+ if python_build: