1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-29 16:40:31 -04:00
ports/lang/pypy/files/patch-rpython_rlib_rvmprof_cintf.py
David Naylor 52777f3f56 lang/pypy(3): update to 5.10, add flavors to ancillary ports
- Consistently use DISTVERSION instead of PORTVERSION (the former is set, not the latter)
 - Only depend on libunwind on x86 arch with FreeBSD >= 11 (fixes ignored build on arm/ppc)
 - Fix python dependency with depreciation of python meta ports
 - Remove PYPY_BITS from pkg-plist target, no longer used
 - Remove setting of PORTVERSION, DISTVERSION is set in bsd.pypy.mk
 - bsd.pypy.mk:
   - Define DISTVERSION once, to ensure consistency
   - PYPY_DIR: Handle versions with multiple digits
   - PYPY_CFFI_VER now differs in value between pypy and pypy3
 - bsd.pypy.cffi.mk:
   - Add FLAVORS for pypy and pypy3 [1]
   - Consistently use PYTHON_IMPL instead of the hard coded "pypy"
   - PLIST_FILES: use direct substitution instead of PLIST_SUB

Approved by:		portmgr (mat) [1]
Differential Revision:	https://reviews.freebsd.org/D13675
2018-01-03 18:42:15 +00:00

11 lines
423 B
Python

--- rpython/rlib/rvmprof/cintf.py.orig 2017-12-27 19:18:35 UTC
+++ rpython/rlib/rvmprof/cintf.py
@@ -17,7 +17,7 @@ class VMProfPlatformUnsupported(Exceptio
# vmprof works only on x86 for now
IS_SUPPORTED = detect_cpu.autodetect().startswith('x86')
-if sys.platform == 'win32':
+if sys.platform in ('freebsd10', 'win32'):
IS_SUPPORTED = False
ROOT = py.path.local(rpythonroot).join('rpython', 'rlib', 'rvmprof')