[MacPorts] #66265: llvm-9.0 @9.0.1_3+emulated_tls: CMake Error at CMakeLists.txt:653 (if): if given arguments: "VERSION_LESS" "2.7" Unknown arguments specified

MacPorts noreply at macports.org
Wed Nov 23 12:24:10 UTC 2022


#66265: llvm-9.0 @9.0.1_3+emulated_tls: CMake Error at CMakeLists.txt:653 (if): if
given arguments: "VERSION_LESS" "2.7" Unknown arguments specified
-----------------------+----------------------
  Reporter:  deril     |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.0
Resolution:            |   Keywords:  ventura
      Port:  llvm-9.0  |
-----------------------+----------------------

Comment (by kencu):

 OK, the Portfile is just forcing {{{/usr/bin/python2.7}}} even though it
 doesn't exist on that system.

 https://github.com/macports/macports-
 ports/blob/0d356ec8fe12dd3b770fef67c2a52d411b17b55e/lang/llvm-9.0/Portfile#L388

 and it has to be changed to something like this:

 https://github.com/macports/macports-
 ports/blob/0d356ec8fe12dd3b770fef67c2a52d411b17b55e/lang/llvm-11/Portfile#L292

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


More information about the macports-tickets mailing list