[MacPorts] #59798: base should always set ${configure.sdkroot} and $env(SDKROOT) to some value, even, in the end "/".

MacPorts noreply at macports.org
Tue Dec 3 05:02:23 UTC 2019


#59798: base should always set ${configure.sdkroot} and $env(SDKROOT) to some
value, even, in the end "/".
-------------------------+--------------------
 Reporter:  kencu        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:
 Keywords:               |       Port:
-------------------------+--------------------
 ${configure.sdkroot} and SDKROOT should always ultimately be set to some
 value by base, even, in the end "/".

 These variables are used for logic in various Portfiles, shell scripts,
 and by xcrun/clang.

 Otherwise, innumerable Portfiles need to test for `${configure.sdkroot} ==
 ""` and then set these values themselves, which seems a needless
 duplication of work that belongs in base.

-- 
Ticket URL: <https://trac.macports.org/ticket/59798>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list