git: f683a69deb6c - main - graphics/py-box2d-py: Fix packaging with Python 3.8+

Kai Knoblich kai at FreeBSD.org
Mon Apr 19 14:56:31 UTC 2021


The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f683a69deb6c4645b36c4a1d8272a18e99f57d10

commit f683a69deb6c4645b36c4a1d8272a18e99f57d10
Author:     Kai Knoblich <kai at FreeBSD.org>
AuthorDate: 2021-04-19 14:44:34 +0000
Commit:     Kai Knoblich <kai at FreeBSD.org>
CommitDate: 2021-04-19 14:53:14 +0000

    graphics/py-box2d-py: Fix packaging with Python 3.8+
    
    * Apply the same fix as in 9cb5898561b302d952fec8e2fac66a945a2c4915 by
      stripping libraries by wildcard paths.
    
    PR:             253815
    Approved by:    python (with hat)
---
 graphics/py-box2d-py/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/py-box2d-py/Makefile b/graphics/py-box2d-py/Makefile
index 2caab5f307b4..345980b9d086 100644
--- a/graphics/py-box2d-py/Makefile
+++ b/graphics/py-box2d-py/Makefile
@@ -18,6 +18,6 @@ USES=		compiler:c11 python:3.6+
 USE_PYTHON=	autoplist distutils
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Box2D/_Box2D.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Box2D/_Box2D*.so
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list