[99934] trunk/dports/graphics/opencv/Portfile

jmr at macports.org jmr at macports.org
Wed Nov 21 10:32:50 PST 2012


Revision: 99934
          https://trac.macports.org/changeset/99934
Author:   jmr at macports.org
Date:     2012-11-21 10:32:50 -0800 (Wed, 21 Nov 2012)
Log Message:
-----------
opencv: fix addition of apple-gcc42 dep (#37074)

Modified Paths:
--------------
    trunk/dports/graphics/opencv/Portfile

Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile	2012-11-21 17:43:32 UTC (rev 99933)
+++ trunk/dports/graphics/opencv/Portfile	2012-11-21 18:32:50 UTC (rev 99934)
@@ -108,12 +108,9 @@
 compiler.blacklist-append       clang
 
 # GCC-4.2 workaround
-if {${configure.compiler} == "gcc-4.2"} {
-    if {![file executable ${configure.cc}]} {
-        depends_build-append    port:apple-gcc42
-        depends_skip_archcheck-append apple-gcc42
-        configure.compiler      apple-gcc-4.2
-    }
+if {${configure.compiler} == "apple-gcc-4.2"} {
+    depends_build-append    port:apple-gcc42
+    depends_skip_archcheck-append apple-gcc42
 }
 
 # PCH broken when universal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121121/5a2fd463/attachment.html>


More information about the macports-changes mailing list