devel/py-bullet3: Prevent build failures on 12 by removing examples from the build

Failures were only in examples, which aren't even needed.

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2018-06-21 06:25:15 +00:00
parent c2e3c38df6
commit e3ba5463c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472955
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= bullet3
DISTVERSION= 2.87
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,6 +20,9 @@ GH_ACCOUNT= bulletphysics
USE_PYTHON= autoplist distutils
USE_GL= gl glew
post-patch: # remove examples because they fail: https://github.com/bulletphysics/bullet3/issues/1510, and they shouldn't be built anyway
@${REINPLACE_CMD} -E 's,"examples/.*\.(cpp|c|m)",,' ${WRKSRC}/setup.py
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet.so

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1513061059
TIMESTAMP = 1529561825
SHA256 (bulletphysics-bullet3-2.87_GH0.tar.gz) = 438c151c48840fe3f902ec260d9496f8beb26dba4b17769a4a53212903935f95
SIZE (bulletphysics-bullet3-2.87_GH0.tar.gz) = 56691047