Alexander Pyhalov
2017-03-11 6952792ffaf933afd2ea9b90f87e56c912375137
python-34: fix python3.4-config --includes output for 64-bit version
1 files added
1 files modified
16 ■■■■■ changed files
components/python/python34/Makefile 2 ●●● patch | view | raw | blame | history
components/python/python34/patches/fix-64bit-includepath.patch 14 ●●●●● patch | view | raw | blame | history
components/python/python34/Makefile
@@ -27,7 +27,7 @@
COMPONENT_NAME=        Python
COMPONENT_VERSION=    3.4.5
COMPONENT_REVISION=    2
COMPONENT_REVISION=    3
COMPONENT_PROJECT_URL=    http://python.org/
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
components/python/python34/patches/fix-64bit-includepath.patch
New file
@@ -0,0 +1,14 @@
Used logic doesn't work when we call python3.4-config from /usr/bin/$(MACH64),
fix it by hardcoding values.
diff -ur Python-3.4.5-1/Misc/python-config.sh.in Python-3.4.5/Misc/python-config.sh.in
--- Python-3.4.5-1/Misc/python-config.sh.in    2017-03-11 17:17:48.558181794 +0300
+++ Python-3.4.5/Misc/python-config.sh.in    2017-03-11 17:19:39.218605043 +0300
@@ -25,7 +25,7 @@
 }
 prefix_build="@prefix@"
-prefix_real=$(installed_prefix "$0")
+prefix_real=/usr
 # Use sed to fix paths from their built-to locations to their installed-to
 # locations.