mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 17:10:33 -04:00
Changes to port: * Abstract ${BUILDDIR} for files/Makefile * Remove MAKE_JOBS_SAFE (depreciated) * Use "USE_GCC=yes+" as recommended by portlint Highlights: * Bugfixes to the ARM JIT backend, so that ARM is now an officially supported processor architecture * Stacklet support on ARM * Interpreter improvements * Various numpy improvements * Bugfixes to cffi and ctypes * Bugfixes to the stacklet support * Improved logging performance * Faster sets for objects
22 lines
902 B
Python
22 lines
902 B
Python
--- lib/pypy2.1/distutils/sysconfig_pypy.py.orig 2012-11-22 14:52:20.000000000 +0200
|
|
+++ lib/pypy2.1/distutils/sysconfig_pypy.py 2012-11-27 17:59:44.000000000 +0200
|
|
@@ -15,7 +15,7 @@
|
|
|
|
def get_python_inc(plat_specific=0, prefix=None):
|
|
from os.path import join as j
|
|
- return j(sys.prefix, 'include')
|
|
+ return j(sys.prefix, 'include', 'pypy' + sys.version.rsplit(' ', 1)[-1][:3])
|
|
|
|
def get_python_version():
|
|
"""Return a string containing the major and minor Python version,
|
|
@@ -42,8 +42,8 @@
|
|
if prefix is None:
|
|
prefix = PREFIX
|
|
if standard_lib:
|
|
- return os.path.join(prefix, "lib-python", get_python_version())
|
|
- return os.path.join(prefix, 'site-packages')
|
|
+ return os.path.join(prefix, 'lib', 'pypy' + sys.version[-6:-3])
|
|
+ return os.path.join(prefix, 'lib', 'pypy' + sys.version.rsplit(' ', 1)[-1][:3], 'site-packages')
|
|
|
|
|
|
_config_vars = None
|