Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 15:41:12 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567853 - head/graphics/py-box2d-py
Message-ID:  <202103081541.128FfCT0095975@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103081541.128FfCT0095975>