[138730] trunk/dports/devel/cmake/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Jul 17 12:35:38 PDT 2015
Revision: 138730
https://trac.macports.org/changeset/138730
Author: michaelld at macports.org
Date: 2015-07-17 12:35:37 -0700 (Fri, 17 Jul 2015)
Log Message:
-----------
cmake*: add comment about the setting of PYTHON_EXECUTABLE if +docs is used or not, just to be clear on why/how it works.
Modified Paths:
--------------
trunk/dports/devel/cmake/Portfile
Modified: trunk/dports/devel/cmake/Portfile
===================================================================
--- trunk/dports/devel/cmake/Portfile 2015-07-17 19:26:45 UTC (rev 138729)
+++ trunk/dports/devel/cmake/Portfile 2015-07-17 19:35:37 UTC (rev 138730)
@@ -146,7 +146,10 @@
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/macports.cmake
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake
- # patch Python Version
+ # patch Python Version; doing this is OK even when +docs is not
+ # used, because the PYTHON_EXECUTABLE is used only when building
+ # docs -- so, when not building docs its setting makes no difference.
+
if {[variant_isset python27]} {
set PYTHON_VERSION_WITH_DOT "2.7"
} else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150717/c133aeac/attachment.html>
More information about the macports-changes
mailing list