[111376] trunk/dports/science/ompl/Portfile

mmoll at macports.org mmoll at macports.org
Thu Sep 19 13:09:26 PDT 2013


Revision: 111376
          https://trac.macports.org/changeset/111376
Author:   mmoll at macports.org
Date:     2013-09-19 13:09:26 -0700 (Thu, 19 Sep 2013)
Log Message:
-----------
science/ompl: fix for xcode 5

Modified Paths:
--------------
    trunk/dports/science/ompl/Portfile

Modified: trunk/dports/science/ompl/Portfile
===================================================================
--- trunk/dports/science/ompl/Portfile	2013-09-19 19:55:37 UTC (rev 111375)
+++ trunk/dports/science/ompl/Portfile	2013-09-19 20:09:26 UTC (rev 111376)
@@ -7,6 +7,7 @@
 
 name                ompl
 version             0.13.0
+revision            1
 categories          science
 maintainers         mmoll
 description         The Open Motion Planning Library (OMPL)
@@ -28,6 +29,11 @@
 # Xcode 3.2.x included clang but not clang++, so it used llvm-g++-4.2 instead.
 compiler.blacklist-append {clang < 137}
 
+# fix for Xcode 5.0, can be removed in next release of OMPL
+patch {
+    reinplace "s|--gccxml-compiler g++ ||g" ${worksrcpath}/CMakeModules/PythonBindingsUtils.cmake
+}
+
 # no universal of gccxml-devel
 universal_variant   no
 configure.args-append   -DOMPL_BUILD_DEMOS=OFF
@@ -56,6 +62,10 @@
 details, please read:
 http://ompl.kavrakilab.org/license.html#ricelicense"
     }
+    # fix for Xcode 5.0, can be removed in next release of OMPL
+    patch {
+        reinplace "s|--gccxml-compiler g++ ||g" ${worksrcpath}/ompl/CMakeModules/PythonBindingsUtils.cmake
+    }
     depends_build-append port:pkgconfig
     depends_lib-append  port:assimp port:fcl
     configure.args-append -DOMPLAPP_PQP=OFF -DOMPLAPP_RESOURCE_DIR=${prefix}/share/ompl/resources
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130919/5aef339e/attachment.html>


More information about the macports-changes mailing list