Mercurial > hgrepos > FreeBSD > ports > PyPy
changeset 61:e12dfbf0a674
Support the byte-compilation: add an extra PLIST_SUB variable
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 10 Jan 2024 18:47:48 +0100 |
| parents | 4a2bf3c9eb24 |
| children | 3ff956f569d6 |
| files | bsd.pypy.mk |
| diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bsd.pypy.mk Wed Jan 10 17:57:02 2024 +0100 +++ b/bsd.pypy.mk Wed Jan 10 18:47:48 2024 +0100 @@ -27,7 +27,8 @@ 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} + PY_VERSION_SHORT=${PY_VERSION_SHORT} \ + PYPY_BCTAG OPTIONS_DEFINE= BYTECOMPILE OPTIONS_DEFAULT= BYTECOMPILE @@ -82,11 +83,13 @@ PY_VERSION_SHORT= 3.9 PYPY_LDLIBRARY= libpypy3.9-c.so PYPY_EXECUTABLE= pypy3.9-c +PYPY_BCTAG= .pypy39 .endif .if ${PORT_OPTIONS:MFORPYIMPL310} PY_VERSION_SHORT= 3.10 PYPY_LDLIBRARY= libpypy3.10-c.so PYPY_EXECUTABLE= pypy3.10-c +PYPY_BCTAG= .pypy310 .endif .include <bsd.port.pre.mk>
