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

ryandesign at macports.org ryandesign at macports.org
Fri Oct 28 16:28:46 PDT 2011


Revision: 86572
          http://trac.macports.org/changeset/86572
Author:   ryandesign at macports.org
Date:     2011-10-28 16:28:46 -0700 (Fri, 28 Oct 2011)
Log Message:
-----------
opencv: use llvm-gcc-4.2 instead of clang; see #30693

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

Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile	2011-10-28 23:19:56 UTC (rev 86571)
+++ trunk/dports/graphics/opencv/Portfile	2011-10-28 23:28:46 UTC (rev 86572)
@@ -63,6 +63,10 @@
                                 -DBZIP2_LIBRARIES=${prefix}/lib/libbz2.dylib \
                                 -DWITH_1394=OFF
 
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 # use macros in /usr/include/stdint.h with C++ compiler; see <https://roundup.ffmpeg.org/issue2093>
 platform darwin {
     if {${os.major} <= 9} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111028/60444eea/attachment.html>


More information about the macports-changes mailing list