[51880] trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

toby at macports.org toby at macports.org
Fri Jun 5 15:14:20 PDT 2009


Revision: 51880
          http://trac.macports.org/changeset/51880
Author:   toby at macports.org
Date:     2009-06-05 15:14:20 -0700 (Fri, 05 Jun 2009)
Log Message:
-----------
make the cmake group forward-compatible with upcoming universal_sysroot removal

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/cmake-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/cmake-1.0.tcl	2009-06-05 21:53:48 UTC (rev 51879)
+++ trunk/dports/_resources/port1.0/group/cmake-1.0.tcl	2009-06-05 22:14:20 UTC (rev 51880)
@@ -46,11 +46,14 @@
                     -DCMAKE_COLOR_MAKEFILE=ON \
                     -DCMAKE_BUILD_TYPE=Release \
                     -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
-                    -DCMAKE_OSX_SYSROOT=${universal_sysroot} \
                     -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
                     -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \
                     -Wno-dev
 
+if {[info exists universal_sysroot]} {
+    configure.args-append -DCMAKE_OSX_SYSROOT=${universal_sysroot}
+}
+
 variant universal {
     configure.universal_args-delete --disable-dependency-tracking
     configure.args-append \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090605/460a8e5b/attachment.html>


More information about the macports-changes mailing list