Ticket #27800: opencv_Portfile_diffu.patch
File opencv_Portfile_diffu.patch, 1.5 KB (added by njbutko@…, 14 years ago) |
---|
-
Portfile
old new 44 44 port:libvorbis \ 45 45 port:libogg \ 46 46 port:x264 \ 47 port:libdc1394 \48 47 port:orc 49 48 50 49 # ffmpeg is not universal … … 64 63 configure.args-append -DBUILD_NEW_PYTHON_SUPPORT=OFF \ 65 64 -DBUILD_EXAMPLES=ON \ 66 65 -DINSTALL_C_EXAMPLES=ON \ 67 -DBZIP2_LIBRARIES=${prefix}/lib/libbz2.dylib 66 -DBZIP2_LIBRARIES=${prefix}/lib/libbz2.dylib \ 67 -DWITH_1394=OFF 68 68 69 69 # use macros in /usr/include/stdint.h with C++ compiler; see <https://roundup.ffmpeg.org/issue2093> 70 70 platform darwin { … … 73 73 } 74 74 } 75 75 76 variant dc1394 description {Use libdc1394 for firewire camera. Breaks compatibility with Apple iSight FireWire camera.} { 77 depends_lib-append port:libdc1394 78 configure.args-delete -DWITH_1394=OFF 79 configure.args-append -DWITH_1394=ON 80 configure.args-append -DHAVE_1394=ON 81 } 82 83 variant qt4 description {Use experimental qt4 backend for graphical interface.} { 84 depends_lib-append port:qt4-mac 85 configure.args-append -DWITH_QT=ON 86 } 87 76 88 variant python26 conflicts python27 description {Add Python 2.6 bindings} { 77 89 depends_lib-append port:python26 78 90 configure.args-delete -DBUILD_NEW_PYTHON_SUPPORT=OFF