Ticket #37276: Portfile-opencv.diff
File Portfile-opencv.diff, 812 bytes (added by josephhowse@…, 12 years ago) |
---|
-
Portfile
old new 154 154 } 155 155 } 156 156 157 variant openni_sensorkinect conflicts openni description {Enable support for OpenNI plus Kinect.} { 158 depends_lib-append port:openni-sensorkinect 159 patchfiles-append patch-cmake-OpenCVFindOpenNI.cmake.diff 160 configure.args-delete -DWITH_OPENNI=OFF 161 configure.args-append -DWITH_OPENNI=ON 162 163 post-patch { 164 reinplace "s,@@PREFIX@@,${prefix},g" ${worksrcpath}/cmake/OpenCVFindOpenNI.cmake 165 } 166 } 167 157 168 variant dc1394 description {Use libdc1394 for FireWire camera. Breaks compatibility with Apple iSight FireWire camera.} { 158 169 depends_lib-append port:libdc1394 159 170 configure.args-delete -DWITH_1394=OFF