[141817] trunk/dports/science/ompl/Portfile
mmoll at macports.org
mmoll at macports.org
Sat Dec 12 03:08:03 PST 2015
Revision: 141817
https://trac.macports.org/changeset/141817
Author: mmoll at macports.org
Date: 2015-10-29 07:21:12 -0700 (Thu, 29 Oct 2015)
Log Message:
-----------
ompl: make build more verbose to help diagnose build problems
Modified Paths:
--------------
trunk/dports/science/ompl/Portfile
Modified: trunk/dports/science/ompl/Portfile
===================================================================
--- trunk/dports/science/ompl/Portfile 2015-10-29 14:06:46 UTC (rev 141816)
+++ trunk/dports/science/ompl/Portfile 2015-10-29 14:21:12 UTC (rev 141817)
@@ -85,6 +85,17 @@
error "Python support not enabled."
}
+post-patch {
+ # make build more verbose to help diagnose build problems
+ if { [variant_isset app] } {
+ reinplace "s|1>\$\{CMAKE_BINARY_DIR\}|\|tee\" \"\$\{CMAKE_BINARY_DIR\}|g" \
+ ${worksrcpath}/ompl/CMakeModules/PythonBindingsUtils.cmake
+ } else {
+ reinplace "s|1>\$\{CMAKE_BINARY_DIR\}|\|tee\" \"\$\{CMAKE_BINARY_DIR\}|g" \
+ ${worksrcpath}/CMakeModules/PythonBindingsUtils.cmake
+ }
+}
+
foreach s ${pythons_suffixes} {
set p python${s}
set v [string index ${s} 0].[string index ${s} 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/5e0865d8/attachment-0001.html>
More information about the macports-changes
mailing list