Revision
89507
Author
raphael@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

Diff

Modified: trunk/dports/graphics/opencv/Portfile (89506 => 89507)


--- 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
     }
 }