diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-04-04 12:32:24 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-04-04 12:32:24 +0000 |
commit | f3d9c4b15ac8a63090052f1f9eafc5442f2ad3da (patch) | |
tree | 0a2e447441b8c9c2c26719bbe38568e7d3f2f979 /python/python-native-2.3.3/cross-distutils.patch | |
parent | 1f422df11f1903f0e58ae34dcaaad223e998c3f9 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages
2004/04/04 03:29:10+02:00 uni-frankfurt.de!mickey
add python-pycodes (low density parity check (LDPC) codes).
couldn't see the binary modules at first glance - please check
2004/04/04 03:20:36+02:00 uni-frankfurt.de!mickey
catch up with the new staging scheme. read individual comments to understand the whole story
BKrev: 40700058l_qApKeSZljFtyn8B1KcvA
Diffstat (limited to 'python/python-native-2.3.3/cross-distutils.patch')
-rw-r--r-- | python/python-native-2.3.3/cross-distutils.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/python-native-2.3.3/cross-distutils.patch b/python/python-native-2.3.3/cross-distutils.patch index db09de5cb0..76ae883c1d 100644 --- a/python/python-native-2.3.3/cross-distutils.patch +++ b/python/python-native-2.3.3/cross-distutils.patch @@ -11,8 +11,8 @@ # These are needed in a couple of spots, so just compute them once. -PREFIX = os.path.normpath(sys.prefix) -EXEC_PREFIX = os.path.normpath(sys.exec_prefix) -+PREFIX = os.path.normpath(sys.prefix).replace( "build", "target" ) -+EXEC_PREFIX = os.path.normpath(sys.exec_prefix).replace( "build", "target" ) ++PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) ++EXEC_PREFIX = os.path.normpath(sys.exec_prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) # python_build: (Boolean) if true, we're either building Python or # building an extension with an un-installed Python, so we use @@ -22,7 +22,7 @@ config_h = 'pyconfig.h' - return os.path.join(inc_dir, config_h) + print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded" -+ return os.path.join(inc_dir, config_h).replace( "build", "target" ) ++ return os.path.join(inc_dir, config_h).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) def get_makefile_filename(): @@ -32,7 +32,7 @@ lib_dir = get_python_lib(plat_specific=1, standard_lib=1) - return os.path.join(lib_dir, "config", "Makefile") + print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded" -+ return os.path.join(lib_dir, "config", "Makefile").replace( "build", "target" ) ++ return os.path.join(lib_dir, "config", "Makefile").replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) def parse_config_h(fp, g=None): |