Ticket #27800: opencv_Portfile_diffu.patch

File opencv_Portfile_diffu.patch, 1.5 KB (added by njbutko@…, 14 years ago)

Patch in diff -u format.

  • Portfile

    old new  
    4444                                port:libvorbis \
    4545                                port:libogg \
    4646                                port:x264 \
    47                                 port:libdc1394 \
    4847                                port:orc
    4948
    5049# ffmpeg is not universal
     
    6463configure.args-append           -DBUILD_NEW_PYTHON_SUPPORT=OFF \
    6564                                -DBUILD_EXAMPLES=ON \
    6665                                -DINSTALL_C_EXAMPLES=ON \
    67                                 -DBZIP2_LIBRARIES=${prefix}/lib/libbz2.dylib
     66                                -DBZIP2_LIBRARIES=${prefix}/lib/libbz2.dylib \
     67                                -DWITH_1394=OFF
    6868
    6969# use macros in /usr/include/stdint.h with C++ compiler; see <https://roundup.ffmpeg.org/issue2093>
    7070platform darwin {
     
    7373    }
    7474}
    7575
     76variant 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
     83variant 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
    7688variant python26 conflicts python27 description {Add Python 2.6 bindings} {
    7789    depends_lib-append          port:python26
    7890    configure.args-delete       -DBUILD_NEW_PYTHON_SUPPORT=OFF