[104843] trunk/dports/www/webkit-gtk/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Apr 3 13:25:36 PDT 2013


Revision: 104843
          https://trac.macports.org/changeset/104843
Author:   jeremyhu at macports.org
Date:     2013-04-03 13:25:36 -0700 (Wed, 03 Apr 2013)
Log Message:
-----------
webkit-gtk: Add missing compiler dependency for 2.1.x users (#38640)

Modified Paths:
--------------
    trunk/dports/www/webkit-gtk/Portfile

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2013-04-03 20:19:46 UTC (rev 104842)
+++ trunk/dports/www/webkit-gtk/Portfile	2013-04-03 20:25:36 UTC (rev 104843)
@@ -120,6 +120,20 @@
 compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6
 compiler.blacklist-append {clang < 300} macports-clang-2.9
 
+# TODO: Remove this block once 2.2 is released
+if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
+    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+
+    # base 2.1.x ignores the argument and just use ${configure.compiler}
+    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
+        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+    }
+
+    if {[string match macports-gcc* ${configure.compiler}]} {
+        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
+    }
+}
+
 if {[string match *clang* ${configure.compiler}]} {
     configure.cxxflags-append -Wno-c++11-extensions
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130403/ec2ddea3/attachment.html>


More information about the macports-changes mailing list