svn commit: r567853 - head/graphics/py-box2d-py

Yuri Victorovich yuri at FreeBSD.org
Mon Mar 8 15:41:12 UTC 2021


Author: yuri
Date: Mon Mar  8 15:41:11 2021
New Revision: 567853
URL: https://svnweb.freebsd.org/changeset/ports/567853

Log:
  graphics/py-box2d-py: Fix build after misc/box2d's shared lib was renamed
  
  Also strip binary.
  
  Reported by:	fluffy

Modified:
  head/graphics/py-box2d-py/Makefile

Modified: head/graphics/py-box2d-py/Makefile
==============================================================================
--- head/graphics/py-box2d-py/Makefile	Mon Mar  8 14:48:04 2021	(r567852)
+++ head/graphics/py-box2d-py/Makefile	Mon Mar  8 15:41:11 2021	(r567853)
@@ -2,6 +2,7 @@
 
 PORTNAME=	box2d-py
 DISTVERSION=	2.3.8
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +14,12 @@ LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	swig:devel/swig
-LIB_DEPENDS=	libBox2D.so:misc/box2d
+LIB_DEPENDS=	libbox2d.so:misc/box2d
 
 USES=		compiler:c11 python:3.6+
 USE_PYTHON=	autoplist distutils
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Box2D/_Box2D.so
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list