# HG changeset patch # User Franz Glasner # Date 1704702941 -3600 # Node ID b0ce0cf90f22aacc293ee8738c1c22c641f91586 # Parent 585cf5a218ad6104fb555ae6059626dceec9d887 Update to build PyPy3 on FreeBSD 13.2 with dist version 7.3.14 diff -r 585cf5a218ad -r b0ce0cf90f22 bsd.pypy.cffi.mk --- a/bsd.pypy.cffi.mk Sun Jan 07 22:27:41 2024 +0100 +++ b/bsd.pypy.cffi.mk Mon Jan 08 09:35:41 2024 +0100 @@ -19,7 +19,7 @@ .include "${.CURDIR}/../../lang/pypy/bsd.pypy.mk" # -# Check that this port's build selected option FORPYIMPL37, FORPYIMPL38 or FORPYIMPL39 +# Check that this port's build selected option FORPYIMPL37, FORPYIMPL38, FORPYIMPL39 or FORPYIMPL310 # is compatible to the corresponding build option of the installed pypy3. # .if ${FLAVOR} == pypy3 && exists(${LOCALBASE}/bin/pypy3) diff -r 585cf5a218ad -r b0ce0cf90f22 bsd.pypy.mk --- a/bsd.pypy.mk Sun Jan 07 22:27:41 2024 +0100 +++ b/bsd.pypy.mk Mon Jan 08 09:35:41 2024 +0100 @@ -24,19 +24,20 @@ .else # ${PYTHON_IMPL} == pypy3 -DISTVERSION= 7.3.11 +DISTVERSION= 7.3.14 PYPY_CFFI_VER= ${PYTHON_IMPL_NODOT}-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} PLIST_SUB+= PYTHON_IMPL_MINOR=${PYTHON_IMPL_MINOR} \ PY_VERSION_SHORT=${PY_VERSION_SHORT} OPTIONS_SINGLE+= FORPYIMPL -OPTIONS_SINGLE_FORPYIMPL= FORPYIMPL37 FORPYIMPL38 FORPYIMPL39 +OPTIONS_SINGLE_FORPYIMPL= FORPYIMPL37 FORPYIMPL38 FORPYIMPL39 FORPYIMPL310 FORPYIMPL_DESC= Required Python compatibility FORPYIMPL37_DESC= Build for compat to Python 3.7 FORPYIMPL38_DESC= Build for compat to Python 3.8 FORPYIMPL39_DESC= Build for compat to Python 3.9 +FORPYIMPL310_DESC= Build for compat to Python 3.10 OPTIONS_SUB= yes OPTIONS_DEFAULT+= FORPYIMPL39 @@ -66,5 +67,10 @@ PYPY_LDLIBRARY= libpypy3.9-c.so PYPY_EXECUTABLE= pypy3.9-c .endif +.if ${PORT_OPTIONS:MFORPYIMPL310} +PY_VERSION_SHORT= 3.10 +PYPY_LDLIBRARY= libpypy3.10-c.so +PYPY_EXECUTABLE= pypy3.10-c +.endif .include