Ticket #50709: opencv.diff
File opencv.diff, 1.3 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
graphics/opencv/Portfile
old new 208 208 variant qt4 conflicts qt5 description {Build with Qt4 Backend support.} { 209 209 PortGroup qt4 1.0 210 210 configure.args-replace -DWITH_QT=OFF \ 211 -DWITH_QT= ON211 -DWITH_QT=4 212 212 } 213 213 214 214 variant qt5 conflicts qt4 description {Build with Qt5 Backend support.} { 215 215 PortGroup qt5 1.0 216 216 configure.args-replace -DWITH_QT=OFF \ 217 -DWITH_QT= ON217 -DWITH_QT=5 218 218 } 219 219 220 220 variant java description {Add Java bindings.} { … … 312 312 reinplace {/Libs: /s:\.dylib::g} ${destroot}${prefix}/lib/pkgconfig/opencv.pc 313 313 reinplace {s|Libs: |Libs: -L\${exec_prefix}/lib |g} ${destroot}${prefix}/lib/pkgconfig/opencv.pc 314 314 reinplace {s:-l-framework|-framework::g} ${destroot}${prefix}/lib/pkgconfig/opencv.pc 315 if {[variant_isset qt4]} { 316 reinplace "s|-lAGL|-framework AGL|g" ${destroot}${prefix}/lib/pkgconfig/opencv.pc 317 reinplace "s|-lOpenGL|-framework OpenGL|g" ${destroot}${prefix}/lib/pkgconfig/opencv.pc 318 } 315 319 } 316 320 317 321 livecheck.type sourceforge