[MacPorts] #71051: Macports should add a global "use_xcode yes" config option

MacPorts noreply at macports.org
Thu Oct 10 01:14:13 UTC 2024


#71051: Macports should add a global "use_xcode yes" config option
--------------------------+--------------------
  Reporter:  mouse07410   |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------

Comment (by kencu):

 a number of ports "bake in" the path to the SDK, and sometimes the paths
 to other things, into the installed build files.

 Over the years we have standardized on this path to the baked-in
 components being into the SDK installed with the CLTs. The buildbots are
 building software configured that way.

 It is not insurmountable to find all these baked-in spots and try to have
 them overrideable at runtime to the actual SDK location, or the actual
 location of whatever else might be baked in. But it is difficult to be
 sure that you've always found 100% of such instances.

 Much easier to just assume that the SDKs are in the location the CLTs have
 put them, and go forth from there.

 The actual compiler and other tools are more forgiving regarding the
 baked-in components, I think. But the SDK is pretty core.

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


More information about the macports-tickets mailing list