Ticket #37339: OpenCV-Portfile.2.diff
File OpenCV-Portfile.2.diff, 612 bytes (added by cooljeanius (Eric Gallager), 12 years ago) |
---|
-
/Users/egall/Downloads/graphics/opencv/Portfile
old new 148 148 } 149 149 150 150 variant opencl description {Enable OpenCL support.} { 151 pre-configure { 152 if {${os.platform} == "darwin" && ${os.major} < 11} { 153 ui_error "The OpenCL variant only works with OS X 10.7 Lion or later." 154 return -code error "incompatible OS X version" 155 } 156 } 151 157 configure.args-delete -DWITH_OPENCL=OFF 152 158 configure.args-append -DWITH_OPENCL=ON 153 159 }