Ticket #34263: bullet.diff

File bullet.diff, 1.9 KB (added by justin.klaassen@…, 13 years ago)
  • Portfile

    old new  
    55PortGroup           cmake 1.0
    66
    77name                bullet
    8 version             2.80-2527
    9 revision            1
     8version             2.80-2531
    109set base_version    [lindex [split ${version} -] 0]
     10set current_revision [lindex [split ${version} -] 1]
    1111categories          devel
    1212license             zlib
    1313platforms           darwin
     
    2323
    2424extract.suffix      .tgz
    2525
    26 distname            ${name}-${base_version}-rev[lindex [split ${version} -] 1]
     26distname            ${name}-${base_version}-rev${current_revision}
    2727dist_subdir         ${name}/${version}
    2828
    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 }
     29checksums           rmd160  121c041e72f223be40479a322d51aed0dcde0737 \
     30                    sha256  464e2d79e3c5a5bdcad597ef6fca26d4244ad83628d8663e03be7c89d0342f36
    4031
    4132configure.args-append \
    4233                    -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
    4438
    45 livecheck.version   ${base_version}
     39livecheck.version   ${base_version}-rev${current_revision}