[138361] trunk/dports/graphics/opencv/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jul 5 23:52:04 PDT 2015
Revision: 138361
https://trac.macports.org/changeset/138361
Author: jeremyhu at macports.org
Date: 2015-07-05 23:52:04 -0700 (Sun, 05 Jul 2015)
Log Message:
-----------
opencv: Configure to build without GCD on Leopard
Modified Paths:
--------------
trunk/dports/graphics/opencv/Portfile
Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile 2015-07-06 06:31:12 UTC (rev 138360)
+++ trunk/dports/graphics/opencv/Portfile 2015-07-06 06:52:04 UTC (rev 138361)
@@ -253,6 +253,14 @@
-DWITH_VTK=ON
}
+platform darwin {
+ post-patch {
+ if {${os.major} < 10} {
+ reinplace "s:HAVE_GCD 1:HAVE_GCD 0:" ${worksrcpath}/cmake/OpenCVFindLibsPerf.cmake
+ }
+ }
+}
+
pre-configure {
configure.args-append -DOPENCV_LINKER_LIBS=\"[join ${opencv_linker_libs} " "]\"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150705/707e9ecc/attachment.html>
More information about the macports-changes
mailing list