Ticket #34263: bullet.diff
File bullet.diff, 1.9 KB (added by justin.klaassen@…, 13 years ago) |
---|
-
Portfile
old new 5 5 PortGroup cmake 1.0 6 6 7 7 name bullet 8 version 2.80-2527 9 revision 1 8 version 2.80-2531 10 9 set base_version [lindex [split ${version} -] 0] 10 set current_revision [lindex [split ${version} -] 1] 11 11 categories devel 12 12 license zlib 13 13 platforms darwin … … 23 23 24 24 extract.suffix .tgz 25 25 26 distname ${name}-${base_version}-rev [lindex [split ${version} -] 1]26 distname ${name}-${base_version}-rev${current_revision} 27 27 dist_subdir ${name}/${version} 28 28 29 checksums rmd160 f1fdef82395e7790b42d712c8b853f545e776825 \ 30 sha256 fa58de72f8bc7854dc0de495b0418841da6b88ac0f6b741f3d29fb590b49d0ba 31 32 patchfiles opencl-case.patch 33 post-patch { 34 # these have CRLF line endings which patch(1) really doesn't like 35 reinplace "s|#include <OpenCL/OpenCL.h>|#include <OpenCL/opencl.h>|" \ 36 ${worksrcpath}/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolver_OpenCL.cpp \ 37 ${worksrcpath}/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverBuffer_OpenCL.h \ 38 ${worksrcpath}/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverVertexBuffer_OpenGL.h 39 } 29 checksums rmd160 121c041e72f223be40479a322d51aed0dcde0737 \ 30 sha256 464e2d79e3c5a5bdcad597ef6fca26d4244ad83628d8663e03be7c89d0342f36 40 31 41 32 configure.args-append \ 42 33 -DBUILD_SHARED_LIBS=ON \ 43 -DINSTALL_LIBS=ON 34 -DINSTALL_LIBS=ON \ 35 -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 36 -DBUILD_EXTRAS=off \ 37 -DBUILD_DEMOS=off 44 38 45 livecheck.version ${base_version} 39 livecheck.version ${base_version}-rev${current_revision}