Mercurial > hgrepos > FreeBSD > ports > PyPy
diff Makefile @ 42:08af0d826e3b
When installing: do properly strip the generated shared libs for PyPy3.8 and PyPy3.9 also.
"find" looked for shared libs in the wrong (old) locations.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 09 Oct 2022 12:43:52 +0200 |
| parents | 925f1c066ff1 |
| children | af3a2629a882 |
line wrap: on
line diff
--- a/Makefile Fri Oct 07 22:51:08 2022 +0200 +++ b/Makefile Sun Oct 09 12:43:52 2022 +0200 @@ -133,7 +133,11 @@ ${PACKAGE_ARGS} ${EXTRACT_CMD} -C ${STAGEDIR}${PREFIX} -xf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2 ${LN} -fs ../${PYPY_DIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +.if ${PORT_OPTIONS:MFORPYIMPL38} || ${PORT_OPTIONS:MFORPYIMPL39} + ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib/${PYTHON_IMPL_MINOR} -name '*.so' | ${XARGS} ${STRIP_CMD} +.else ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/ -name '*.so' | ${XARGS} ${STRIP_CMD} +.endif do-test: # See https://bitbucket.org/pypy/buildbot/src/default/bot2/pypybuildbot/builds.py?at=default#builds.py-386
