[115032] trunk/dports/aqua/qt4-mac/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 22 15:45:36 PST 2013


Revision: 115032
          https://trac.macports.org/changeset/115032
Author:   ryandesign at macports.org
Date:     2013-12-22 15:45:36 -0800 (Sun, 22 Dec 2013)
Log Message:
-----------
qt4-mac: do not download libWebKitSystemInterfaceMavericks.a on non-Mavericks systems since it only gets used on Mavericks systems

Modified Paths:
--------------
    trunk/dports/aqua/qt4-mac/Portfile

Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile	2013-12-22 18:57:02 UTC (rev 115031)
+++ trunk/dports/aqua/qt4-mac/Portfile	2013-12-22 23:45:36 UTC (rev 115032)
@@ -31,8 +31,6 @@
                     cross-platform GUI-based applications.
 
 distname            qt-everywhere-opensource-src-${version}
-distfiles           ${distname}${extract.suffix} \
-                    libWebKitSystemInterfaceMavericks.a
 extract.only        ${distname}${extract.suffix}
 
 master_sites        http://download.qt-project.org/official_releases/qt/${branch}/${version}/  \
@@ -268,6 +266,17 @@
         patch-src_3rdparty_webkit_Source_WebKit_qt_WebCoreSupport_NotificationPresenterClientQt.cpp.diff \
         patch-src_3rdparty_webkit_Source_WebKit_qt_Api_qgraphicswebview.cpp.diff \
         patch-src_3rdparty_webkit_Source_WebCore_platform_network_qt_QNetworkReplyHandler.cpp.diff
+
+    # Copy new version of webkit's lib for OS X 10.9 only.
+    # Attached by reference:
+    # https://codereview.qt-project.org/#change,69328
+    # http://trac.webkit.org/browser/trunk/WebKitLibraries/ChangeLog?rev=157771
+
+    distfiles-append libWebKitSystemInterfaceMavericks.a
+    post-patch {
+        copy ${distpath}/libWebKitSystemInterfaceMavericks.a \
+            ${worksrcpath}/src/3rdparty/webkit/WebKitLibraries
+    }
 }
 
 platform darwin {
@@ -417,17 +426,6 @@
         ${worksrcpath}/config.tests/mac
     copy ${filespath}/library_path \
         ${worksrcpath}/config.tests/mac
-
-    platform darwin 13 {
-
-        # Copy new Version of webkits' lib for OSX 10.9 only.
-        # Attached by reference:
-        # https://codereview.qt-project.org/#change,69328
-        # http://trac.webkit.org/browser/trunk/WebKitLibraries/ChangeLog?rev=157771
-
-        copy ${distpath}/libWebKitSystemInterfaceMavericks.a \
-            ${worksrcpath}/src/3rdparty/webkit/WebKitLibraries
-    }
 }
 
 # Block various compilers:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131222/8c7a6f38/attachment.html>


More information about the macports-changes mailing list