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

MacPorts noreply at macports.org
Wed Jun 12 04:52:15 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:  basix ffmpeg ffmpeg-devel ffmpeg6   |
  game-porting-toolkit gcc-devel gcc10           |
  gcc10-bootstrap gcc11 gcc12 gcc13 gcc8 gcc9    |
  root6 scip sundials5 zig basix ffmpeg ffmpeg-  |
  devel ffmpeg6 game-porting-toolkit gcc-devel   |
  gcc10 gcc10-bootstrap gcc11 gcc12 gcc13 gcc8   |
  gcc9 root6 scip sundials5 zig                  |
-------------------------------------------------+-------------------------
Changes (by ryandesign):

 * cc: Gcenx (added)
 * port:   =>
     basix ffmpeg ffmpeg-devel ffmpeg6 game-porting-toolkit gcc-devel gcc10
     gcc10-bootstrap gcc11 gcc12 gcc13 gcc8 gcc9 root6 scip sundials5 zig
     basix ffmpeg ffmpeg-devel ffmpeg6 game-porting-toolkit gcc-devel gcc10
     gcc10-bootstrap gcc11 gcc12 gcc13 gcc8 gcc9 root6 scip sundials5 zig


Comment:

 Newly-added game-porting-toolkit is also affected, using the more
 convoluted:
 {{{#!tcl
 set clt150   [expr { ${xcodeversion} eq "none" && ${xcodecltversion} ne
 "none" && [vercmp ${xcodecltversion} >= "15.0"] } ]
 set xcode150 [expr { ${xcodeversion} ne "none" && [vercmp ${xcodeversion}
 >= "15.0"] } ]
 if { ${clt150} || ${xcode150} } {
 }}}

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


More information about the macports-tickets mailing list