[MacPorts] #64903: Libreoffice installs dependencies and then fails because it is for 10.15

MacPorts noreply at macports.org
Tue Mar 29 02:36:02 UTC 2022


#64903: Libreoffice installs dependencies and then fails because it is for 10.15
--------------------------+----------------------
  Reporter:  angelog0     |      Owner:  Tatsh
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  libreoffice  |
--------------------------+----------------------

Comment (by kencu):

 Given there are so many deps, you could do this:

 {{{
 if {${os.platform} eq "darwin" && ${os.major} < 19} {
     known_fail yes
 +   depends_build
 +   depends_lib
 +   depends_run
     pre-fetch {
         ui_error "Building ${name} @${version} requires macOS 10.15 or
 later."
         ui_error ""
         ui_error "Consider downloading a version from LibreOffice's
 website:"
         ui_error "https://www.libreoffice.org/download/download/"
         ui_error ""
         return -code error "incompatible OS X version"
     }
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64903#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list