[MacPorts] #60116: mpv @0.31.0 fails to build on mavericks: macosx_menubar.m:718:67: error: property 'path' not found on object of type 'id'
MacPorts
noreply at macports.org
Wed May 13 06:00:20 UTC 2020
#60116: mpv @0.31.0 fails to build on mavericks: macosx_menubar.m:718:67: error:
property 'path' not found on object of type 'id'
---------------------+----------------------
Reporter: tehcog | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: mpv |
---------------------+----------------------
Comment (by kencu):
This works:
{{{
--- multimedia/mpv/Portfile 2020-05-12 22:55:03.000000000 -0700
+++ multimedia/mpv/Portfile 2020-05-12 22:56:03.000000000 -0700
@@ -168,11 +168,13 @@
compiler.blacklist-append *gcc* cc macports-*
}
- if {${os.major} <= 10 || ${configure.build_arch} ne "x86_64"} {
+ if {${os.major} <= 15 || ${configure.build_arch} ne "x86_64"} {
# Disable Cocoa output.
# Users on old systems will need to embrace X11.
configure.args-replace --enable-cocoa \
--disable-cocoa
+ configure.args-replace --enable-swift \
+ --disable-swift
default_variants-append +x11
}
@@ -477,7 +479,7 @@
}
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} > 15} {
configure.args-replace --disable-gl-cocoa \
--enable-gl-cocoa
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60116#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list