Skip to content
Permalink
Browse files

mpv: disable cocoa on <= darwin 14

  • Loading branch information
kencu committed May 18, 2020
1 parent e1cc725 commit 79baae91e0c39d4f3bb8018c208a3afc89513e4a
Showing with 2 additions and 2 deletions.
  1. +2 −2 multimedia/mpv/Portfile
@@ -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 \
@@ -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
}

0 comments on commit 79baae9

Please sign in to comment.
You can’t perform that action at this time.