aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-06-21 14:25:15 +0800
committeryuri <yuri@FreeBSD.org>2018-06-21 14:25:15 +0800
commitcb48f8b2f583d144398d3c4b4021470d693c0178 (patch)
tree749e9dadeaf5e05c473ecf215e556dedd8847f39 /devel
parentbacc720e6d26f0b6b2538ccbef3869c4e69c2290 (diff)
downloadfreebsd-ports-gnome-cb48f8b2f583d144398d3c4b4021470d693c0178.tar.gz
freebsd-ports-gnome-cb48f8b2f583d144398d3c4b4021470d693c0178.tar.zst
freebsd-ports-gnome-cb48f8b2f583d144398d3c4b4021470d693c0178.zip
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
Diffstat (limited to 'devel')
-rw-r--r--devel/py-bullet3/Makefile4
-rw-r--r--devel/py-bullet3/distinfo2
2 files changed, 5 insertions, 1 deletions
diff --git a/devel/py-bullet3/Makefile b/devel/py-bullet3/Makefile
index 43b08c2a48a4..7841c7640bea 100644
--- a/devel/py-bullet3/Makefile
+++ b/devel/py-bullet3/Makefile
@@ -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
diff --git a/devel/py-bullet3/distinfo b/devel/py-bullet3/distinfo
index 232c9ff46825..dc6852456c64 100644
--- a/devel/py-bullet3/distinfo
+++ b/devel/py-bullet3/distinfo
@@ -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