Ticket #60116: mpv-portfile-diff.diff
File mpv-portfile-diff.diff, 1.1 KB (added by kencu (Ken), 4 years ago) |
---|
-
multimedia/mpv/Portfile
168 168 compiler.blacklist-append *gcc* cc macports-* 169 169 } 170 170 171 if {${os.major} <= 1 0|| ${configure.build_arch} ne "x86_64"} {171 if {${os.major} <= 15 || ${configure.build_arch} ne "x86_64"} { 172 172 # Disable Cocoa output. 173 173 # Users on old systems will need to embrace X11. 174 174 configure.args-replace --enable-cocoa \ 175 175 --disable-cocoa 176 configure.args-replace --enable-swift \ 177 --disable-swift 176 178 177 179 default_variants-append +x11 178 180 } … … 477 479 } 478 480 479 481 variant opengl description {Enable OpenGL output support. Both the CoreVideo and X11 (GLX) outputs are supported} { 480 if {${os.platform} eq "darwin" && ${os.major} > 1 0} {482 if {${os.platform} eq "darwin" && ${os.major} > 15} { 481 483 configure.args-replace --disable-gl-cocoa \ 482 484 --enable-gl-cocoa 483 485 }