[MacPorts] #70144: Incorrect conditions for making decisions based on Xcode or Xcode command line tools version

MacPorts noreply at macports.org
Mon Jun 3 08:50:54 UTC 2024


#70144: Incorrect conditions for making decisions based on Xcode or Xcode command
line tools version
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by ryandesign):

 Replying to [ticket:70144 ryandesign]:
 > I don't know what the correct code would be

 How about:

 {{{#!tcl
 if {[vercmp [expr {${use_xcode} || ${xcodecltversion} eq {none} ?
 ${xcodeversion} : ${xcodecltversion}}] >= 15]} {
 }}}

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


More information about the macports-tickets mailing list