[99782] trunk/dports/graphics

jeremyhu at macports.org jeremyhu at macports.org
Sat Nov 17 08:08:12 PST 2012


Revision: 99782
          https://trac.macports.org/changeset/99782
Author:   jeremyhu at macports.org
Date:     2012-11-17 08:08:12 -0800 (Sat, 17 Nov 2012)
Log Message:
-----------
cairo*: Fix port lint

can't read "clang_installed_version": no such variable

Modified Paths:
--------------
    trunk/dports/graphics/cairo/Portfile
    trunk/dports/graphics/cairo-devel/Portfile

Modified: trunk/dports/graphics/cairo/Portfile
===================================================================
--- trunk/dports/graphics/cairo/Portfile	2012-11-17 15:31:23 UTC (rev 99781)
+++ trunk/dports/graphics/cairo/Portfile	2012-11-17 16:08:12 UTC (rev 99782)
@@ -49,13 +49,9 @@
 # Prevent cairo from using librsvg, libspectre, poppler.
 patchfiles-append           patch-configure.diff
 
-if {${configure.compiler} == "clang" && [file exists ${configure.cc}]} {
-    # https://trac.macports.org/ticket/34137
-    set clang_minimum_version 318.0.61
-    regexp {/clang-([0-9.]+)} [exec ${configure.cc} -v 2>@1] -> clang_installed_version
-    if {[vercmp ${clang_installed_version} ${clang_minimum_version}] < 0} {
-        compiler.blacklist  clang
-    }
+# https://trac.macports.org/ticket/34137
+if {[vercmp $xcodeversion 4.3.3] <= 0} {
+    compiler.blacklist-append clang
 }
 
 pre-configure {

Modified: trunk/dports/graphics/cairo-devel/Portfile
===================================================================
--- trunk/dports/graphics/cairo-devel/Portfile	2012-11-17 15:31:23 UTC (rev 99781)
+++ trunk/dports/graphics/cairo-devel/Portfile	2012-11-17 16:08:12 UTC (rev 99782)
@@ -45,13 +45,9 @@
 # Prevent cairo from using librsvg, libspectre, poppler.
 patchfiles-append           patch-configure.diff
 
-if {${configure.compiler} == "clang" && [file exists ${configure.cc}]} {
-    # https://trac.macports.org/ticket/34137
-    set clang_minimum_version 318.0.61
-    regexp {/clang-([0-9.]+)} [exec ${configure.cc} -v 2>@1] -> clang_installed_version
-    if {[vercmp ${clang_installed_version} ${clang_minimum_version}] < 0} {
-        compiler.blacklist  clang
-    }
+# https://trac.macports.org/ticket/34137
+if {[vercmp $xcodeversion 4.3.3] <= 0} {
+    compiler.blacklist-append clang
 }
 
 pre-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121117/4e622c27/attachment.html>


More information about the macports-changes mailing list