Index: head/devel/py-bullet3/Makefile =================================================================== --- head/devel/py-bullet3/Makefile (revision 491691) +++ head/devel/py-bullet3/Makefile (revision 491692) @@ -1,27 +1,26 @@ # $FreeBSD$ PORTNAME= bullet3 -DISTVERSION= 2.87 -PORTREVISION= 3 +DISTVERSION= 2.88 CATEGORIES= devel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python version of 3D collision detection library Bullet LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= compiler:c++11-lang localbase python +USES= compiler:c++11-lang gl localbase python USE_GITHUB= yes 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 .include Index: head/devel/py-bullet3/distinfo =================================================================== --- head/devel/py-bullet3/distinfo (revision 491691) +++ head/devel/py-bullet3/distinfo (revision 491692) @@ -1,3 +1,3 @@ -TIMESTAMP = 1529561825 -SHA256 (bulletphysics-bullet3-2.87_GH0.tar.gz) = 438c151c48840fe3f902ec260d9496f8beb26dba4b17769a4a53212903935f95 -SIZE (bulletphysics-bullet3-2.87_GH0.tar.gz) = 56691047 +TIMESTAMP = 1548916400 +SHA256 (bulletphysics-bullet3-2.88_GH0.tar.gz) = 21c135775527754fc2929db1db5144e92ad0218ae72840a9f162acb467a7bbf9 +SIZE (bulletphysics-bullet3-2.88_GH0.tar.gz) = 78575915 Index: head/devel/py-bullet3/files/patch-examples_ThirdPartyLibs_Gwen_Macros.h =================================================================== --- head/devel/py-bullet3/files/patch-examples_ThirdPartyLibs_Gwen_Macros.h (revision 491691) +++ head/devel/py-bullet3/files/patch-examples_ThirdPartyLibs_Gwen_Macros.h (nonexistent) @@ -1,11 +0,0 @@ ---- examples/ThirdPartyLibs/Gwen/Macros.h.orig 2017-09-29 23:20:39 UTC -+++ examples/ThirdPartyLibs/Gwen/Macros.h -@@ -40,7 +40,7 @@ - #define GwenUtil_OutputDebugWideString( lpOutputString ) //wprintf( lpOutputString ) - #define GwenUtil_WideStringToFloat( _Str ) wcstof(_Str, NULL) - --#elif defined(__linux__) || defined(__OpenBSD__) -+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) - - #define GwenUtil_VSNPrintFSafe( _DstBuf, _DstSize, _MaxCount, _Format, _ArgList ) vsnprintf( _DstBuf, _DstSize, _Format, _ArgList ) - #define GwenUtil_VSWPrintFSafe( _DstBuf, _SizeInWords, _Format, _ArgList ) vswprintf( _DstBuf, _SizeInWords, _Format, _ArgList ) Property changes on: head/devel/py-bullet3/files/patch-examples_ThirdPartyLibs_Gwen_Macros.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/py-bullet3/files/patch-setup.py =================================================================== --- head/devel/py-bullet3/files/patch-setup.py (revision 491691) +++ head/devel/py-bullet3/files/patch-setup.py (revision 491692) @@ -1,16 +1,11 @@ ---- setup.py.orig 2017-09-29 23:20:39 UTC +--- setup.py.orig 2018-12-31 20:42:41 UTC +++ setup.py -@@ -409,11 +409,12 @@ elif _platform == "darwin": - +["examples/OpenGLWindow/MacOpenGLWindowObjC.m"] - else: - print("bsd!") -+ libraries = ['GL','GLEW','pthread'] - os.environ['LDFLAGS'] = '-L/usr/X11R6/lib' +@@ -535,7 +535,7 @@ else: CXX_FLAGS += '-D_BSD ' CXX_FLAGS += '-I/usr/X11R6/include ' CXX_FLAGS += '-DHAS_SOCKLEN_T ' - CXX_FLAGS += '-fno-inline-functions-called-once' + #CXX_FLAGS += '-fno-inline-functions-called-once' sources = ["examples/ThirdPartyLibs/enet/unix.c"]\ +["examples/OpenGLWindow/X11OpenGLWindow.cpp"]\ - +["examples/ThirdPartyLibs/Glew/glew.c"]\ + +["examples/ThirdPartyLibs/glad/gl.c"]\