[75809] trunk/dports/devel/bullet

stromnov at macports.org stromnov at macports.org
Wed Feb 9 02:00:25 PST 2011


Revision: 75809
          http://trac.macports.org/changeset/75809
Author:   stromnov at macports.org
Date:     2011-02-09 02:00:24 -0800 (Wed, 09 Feb 2011)
Log Message:
-----------
bullet: fix for #26612

Modified Paths:
--------------
    trunk/dports/devel/bullet/Portfile

Added Paths:
-----------
    trunk/dports/devel/bullet/files/patch-OpenCL_CMakeLists.txt.diff

Modified: trunk/dports/devel/bullet/Portfile
===================================================================
--- trunk/dports/devel/bullet/Portfile	2011-02-09 09:24:26 UTC (rev 75808)
+++ trunk/dports/devel/bullet/Portfile	2011-02-09 10:00:24 UTC (rev 75809)
@@ -6,6 +6,7 @@
 
 name                bullet
 version             2.77-2218
+revision            1
 set base_version    [lindex [split ${version} -] 0]
 categories          devel
 
@@ -27,7 +28,8 @@
                     sha1    ff37c79efd8afd01b14c03154ad1c217e6ad3c09 \
                     rmd160  6fe822bf3150d33f0932fcb880d2d5a836d2cd88
 
-patchfiles          patch-btSoftBodySolverBuffer_OpenCL.h.diff
+patchfiles          patch-btSoftBodySolverBuffer_OpenCL.h.diff \
+                    patch-OpenCL_CMakeLists.txt.diff
 
 configure.args-append \
                     -DBUILD_SHARED_LIBS=ON \

Added: trunk/dports/devel/bullet/files/patch-OpenCL_CMakeLists.txt.diff
===================================================================
--- trunk/dports/devel/bullet/files/patch-OpenCL_CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/devel/bullet/files/patch-OpenCL_CMakeLists.txt.diff	2011-02-09 10:00:24 UTC (rev 75809)
@@ -0,0 +1,12 @@
+Index: src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/CMakeLists.txt
+===================================================================
+--- src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/CMakeLists.txt	(revision 2278)
++++ src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/CMakeLists.txt	(working copy)
+@@ -11,6 +11,6 @@
+ 	SUBDIRS(NVidia)
+ ENDIF()
+ 
+-IF(APPLE)
++IF(APPLE AND OPENCL_LIBRARY) 
+ 	SUBDIRS(Apple)
+ ENDIF()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110209/72ab174e/attachment.html>


More information about the macports-changes mailing list