Ticket #28332: Portfile-opencv.diff

File Portfile-opencv.diff, 574 bytes (added by nucleus_rei@…, 14 years ago)

Add missing python27 reinplace

  • Portfile

    old new  
    5959    if {[variant_isset python26]} {
    6060        reinplace "s|@@PYTHON_PKGD@@|${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages|g" ${worksrcpath}/CMakeLists.txt
    6161    }
     62    if {[variant_isset python27]} {
     63        reinplace "s|@@PYTHON_PKGD@@|${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages|g" ${worksrcpath}/CMakeLists.txt
     64    }
    6265}
    6366
    6467configure.args-append           -DBUILD_NEW_PYTHON_SUPPORT=OFF \