Mercurial > hgrepos > FreeBSD > ports > PyPy
changeset 24:d2d396c79e9f
Allow to overwrite DISTINFO_FILE and PLIST from slave ports.
This is needed for some PyPy implementation flavors to work properly.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Wed, 05 Oct 2022 15:29:19 +0200 |
| parents | d16a4f379bbc |
| children | ee6885d5bdcb |
| files | Makefile bsd.pypy.mk |
| diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Oct 05 09:39:24 2022 +0200 +++ b/Makefile Wed Oct 05 15:29:19 2022 +0200 @@ -100,13 +100,14 @@ PYTHON_USES= python:2.7,build DESCR= ${.CURDIR}/pkg-descr -DISTINFO_FILE= ${.CURDIR}/distinfo PATCHDIR= ${.CURDIR}/files -PLIST= ${.CURDIR}/pkg-plist .include "bsd.pypy.mk" #.include <bsd.port.pre.mk> +DISTINFO_FILE?= ${.CURDIR}/distinfo +PLIST?= ${.CURDIR}/pkg-plist + .if ${OPSYS} == FreeBSD && ${ARCH} != i386 && ${ARCH} != amd64 PYPY_ARGS= --withoutmod-_vmprof .else
--- a/bsd.pypy.mk Wed Oct 05 09:39:24 2022 +0200 +++ b/bsd.pypy.mk Wed Oct 05 15:29:19 2022 +0200 @@ -42,6 +42,8 @@ PYTHON_IMPL_MINOR= pypy${PY_VERSION_SHORT} PYTHON_IMPL_NODOT= pypy${PY_VERSION_NODOT} +DISTINFO_FILE= ${.CURDIR}/distinfo.py${PY_VERSION_NODOT} + .include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MFORPYIMPL37}
