Skip to content

Commit

Permalink
mpv: disable cocoa on <= darwin 14
Browse files Browse the repository at this point in the history
  • Loading branch information
kencu committed May 23, 2020
1 parent e1cc725 commit 79baae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multimedia/mpv/Portfile
Expand Up @@ -168,7 +168,7 @@ platform macosx {
compiler.blacklist-append *gcc* cc macports-*
}

if {${os.major} <= 10 || ${configure.build_arch} ne "x86_64"} {
if {${os.major} <= 14 || ${configure.build_arch} ne "x86_64"} {
# Disable Cocoa output.
# Users on old systems will need to embrace X11.
configure.args-replace --enable-cocoa \
Expand Down Expand Up @@ -482,7 +482,7 @@ variant x11 {
}

variant opengl description {Enable OpenGL output support. Both the CoreVideo and X11 (GLX) outputs are supported} {
if {${os.platform} eq "darwin" && ${os.major} > 10} {
if {${os.platform} eq "darwin" && ${os.major} > 14} {
configure.args-replace --disable-gl-cocoa \
--enable-gl-cocoa
}
Expand Down

0 comments on commit 79baae9

Please sign in to comment.