[110325] trunk/dports/graphics/opencv/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Thu Aug 29 16:36:06 PDT 2013
Revision: 110325
https://trac.macports.org/changeset/110325
Author: jeremyhu at macports.org
Date: 2013-08-29 16:36:06 -0700 (Thu, 29 Aug 2013)
Log Message:
-----------
opencv: Build fix and bump
Modified Paths:
--------------
trunk/dports/graphics/opencv/Portfile
Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile 2013-08-29 22:49:06 UTC (rev 110324)
+++ trunk/dports/graphics/opencv/Portfile 2013-08-29 23:36:06 UTC (rev 110325)
@@ -6,7 +6,7 @@
PortGroup compiler_blacklist_versions 1.0
name opencv
-version 2.4.6
+version 2.4.6.1
revision 0
categories graphics science
platforms darwin
@@ -29,8 +29,8 @@
distname opencv-${version}
worksrcdir ${name}-${version}
-checksums rmd160 a95e4a316f49eec4c89d3d05cedfd261ed1aa169 \
- sha256 5a9bcadf9c114ca81e206f4171091676b69019a4032b9621e5df29f88157b0b1
+checksums rmd160 805193fc2e129bc4183c48057ca305774dfa5ed4 \
+ sha256 ae7cfd859476b6cc05246949ddcb165fb284eaf9a6d814b2976dc21088778aa0
depends_build-append port:pkgconfig
@@ -115,6 +115,13 @@
# Older clang also don't work (#36956)
compiler.blacklist-append {clang < 318}
+# TODO: Actually fix this
+if {[string match "*clang*" ${configure.compiler}]} {
+ post-patch {
+ reinplace "/-Werror=sequence-point/d" ${worksrcpath}/cmake/OpenCVCompilerOptions.cmake
+ }
+}
+
# PCH broken when universal
if {[variant_isset universal]} {
configure.args-delete -DENABLE_PRECOMPILED_HEADERS=ON
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130829/cede069b/attachment.html>
More information about the macports-changes
mailing list