Mercurial > hgrepos > FreeBSD > ports > PyPy
comparison Makefile @ 34:0ba8512ad4c5
Introduce the PYPY_LDLIBRARY make variable to name the generated PyPy shared library.
This is needed because PyPy3.9 will have names with the minor version in it
(e.g. libpypy3.9-c.so instead of libpypy3-c.so). This is a precondition for
side-by-side installations of PyPy3 implementing different Python versions
(currently 3.7, 3.8 or 3.9).
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 06 Oct 2022 12:35:52 +0200 |
| parents | f005c4d19ca4 |
| children | 7441c55209da |
comparison
equal
deleted
inserted
replaced
| 33:3fcb2f73b3e2 | 34:0ba8512ad4c5 |
|---|---|
| 123 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYPY_USESSION_BASENAME=${PORTNAME} \ | 123 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYPY_USESSION_BASENAME=${PORTNAME} \ |
| 124 ${PYTHON_CMD} ../../rpython/bin/rpython --source -Ojit targetpypystandalone.py ${PYPY_ARGS}); \ | 124 ${PYTHON_CMD} ../../rpython/bin/rpython --source -Ojit targetpypystandalone.py ${PYPY_ARGS}); \ |
| 125 fi | 125 fi |
| 126 | 126 |
| 127 post-build: | 127 post-build: |
| 128 ${CP} ${BUILD_WRKSRC}/${PORTNAME}-c ${BUILD_WRKSRC}/lib${PORTNAME}-c.so ${WRKSRC}/pypy/goal/ | 128 ${CP} ${BUILD_WRKSRC}/${PORTNAME}-c ${BUILD_WRKSRC}/${PYPY_LDLIBRARY} ${WRKSRC}/pypy/goal/ |
| 129 | 129 |
| 130 do-install: | 130 do-install: |
| 131 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build \ | 131 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build \ |
| 132 ${PYTHON_CMD} ${WRKSRC}/pypy/tool/release/package.py --builddir ${WRKDIR}/build --archive-name ${PYPY_DIR} \ | 132 ${PYTHON_CMD} ${WRKSRC}/pypy/tool/release/package.py --builddir ${WRKDIR}/build --archive-name ${PYPY_DIR} \ |
| 133 ${PACKAGE_ARGS} | 133 ${PACKAGE_ARGS} |
