Date: Fri, 16 Sep 2022 22:22:45 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 80fa80f5a52c - main - devel/py-orjson: fix build on powerpc64* Message-ID: <202209162222.28GMMjNo075172@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=80fa80f5a52c245257e33ff078f5b109f1fbb2b7 commit 80fa80f5a52c245257e33ff078f5b109f1fbb2b7 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-09-16 21:02:35 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-09-16 21:02:35 +0000 devel/py-orjson: fix build on powerpc64* Similar to www/py-adblock. --- devel/py-orjson/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devel/py-orjson/Makefile b/devel/py-orjson/Makefile index 7b18d09bfb86..2bcca70eeafc 100644 --- a/devel/py-orjson/Makefile +++ b/devel/py-orjson/Makefile @@ -73,6 +73,10 @@ do-build: # Due to upstream not supplying a setup.py file or other way to install # using pip command for now... do-install: +.if ${ARCH:Mpowerpc64*} + @(cd ${INSTALL_WRKSRC}; \ + ${FIND} . -name "*whl" -exec sh -c 'mv {} `echo {} | sed -E -e "s/powerpc.*/powerpc.whl/"`' \;) +.endif @${SETENV} ${MAKE_ENV} pip install \ --isolated \ --root=${STAGEDIR} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209162222.28GMMjNo075172>