Revision
89474
Author
mmoll@macports.org
Date
2012-01-31 07:00:37 -0800 (Tue, 31 Jan 2012)

Log Message

science/ompl: use the right version of python

Modified Paths

Diff

Modified: trunk/dports/science/ompl/Portfile (89473 => 89474)


--- trunk/dports/science/ompl/Portfile	2012-01-31 13:37:24 UTC (rev 89473)
+++ trunk/dports/science/ompl/Portfile	2012-01-31 15:00:37 UTC (rev 89474)
@@ -5,7 +5,7 @@
 
 name                ompl
 version             0.9.5
-revision            1
+revision            2
 categories          science
 maintainers         mmoll
 description         The Open Motion Planning Library (OMPL)
@@ -55,6 +55,7 @@
     depends_build-append    port:py26-pyplusplus-devel
     depends_lib-append      port:python26
     build.target            update_bindings all
+    configure.args-append   -DPYTHON_EXEC=${prefix}/bin/python2.6
     if { [variant_isset app] } {
         depends_lib-append      port:py26-pyqt4 port:py26-opengl
         post-destroot {
@@ -69,6 +70,7 @@
     depends_build-append    port:py27-pyplusplus-devel
     depends_lib-append      port:python27
     build.target            update_bindings all
+    configure.args-append   -DPYTHON_EXEC=${prefix}/bin/python2.7
     if { [variant_isset app] } {
         depends_lib-append  port:py27-pyqt4 port:py27-opengl
         post-destroot {