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

raphael at macports.org raphael at macports.org
Wed Feb 1 06:30:10 PST 2012


Revision: 89507
          http://trac.macports.org/changeset/89507
Author:   raphael at macports.org
Date:     2012-02-01 06:30:05 -0800 (Wed, 01 Feb 2012)
Log Message:
-----------
opencv: do not build the tests on Leopard (and earlier); closes #32094

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

Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile	2012-02-01 13:24:22 UTC (rev 89506)
+++ trunk/dports/graphics/opencv/Portfile	2012-02-01 14:30:05 UTC (rev 89507)
@@ -78,8 +78,11 @@
 platform darwin {
     # Use macros in /usr/include/stdint.h with C++ compiler
     # http://roundup.libav.org/issue2093
+    # Do not build tests
+    # http://comments.gmane.org/gmane.comp.lib.opencv/50383
     if {${os.major} <= 9} {
-        configure.args-append   -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS
+        configure.args-append   -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS \
+                                -DBUILD_TESTS=OFF
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120201/e5f63351/attachment.html>


More information about the macports-changes mailing list