Ticket #37276: Portfile-rrdtool.diff

File Portfile-rrdtool.diff, 1.2 KB (added by josephhowse@…, 12 years ago)

graphics/opencv/Portfile-rrdtool.diff

  • Portfile

    old new  
    154154    }
    155155}
    156156
     157variant openni_devel_sensorkinect conflicts openni description {Enable support for OpenNI (unstable branch) plus Kinect.} {
     158    depends_lib-append          port:openni-devel-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
    157168variant dc1394 description {Use libdc1394 for FireWire camera. Breaks compatibility with Apple iSight FireWire camera.} {
    158169    depends_lib-append          port:libdc1394
    159170    configure.args-delete       -DWITH_1394=OFF
     
    191202                                -DPYTHON_PACKAGES_PATH=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
    192203}
    193204
    194 variant tbb description {Use Intel TBB.} {
     205variant tbb conflicts universal description {Use Intel TBB.} {
    195206    depends_lib-append          port:tbb
    196207    configure.args-delete       -DWITH_TBB=OFF
    197208    configure.args-append       -DWITH_TBB=ON \