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

MacPorts noreply at macports.org
Mon Aug 31 04:57:19 UTC 2020


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

Comment (by jmroot):

 Some numbers for your consideration:
  * 108 Portfiles in the tree look at ${configure.sdkroot}.
  * Of those, only 20 set it to /. The rest do something else when it is
 empty.

 Yes, technically the double slash doesn't break that example because
 double slashes happen to be interpreted the same as a single slash in
 paths. However, no SDK is a different thing to an SDK that is located at
 /. An empty configure.sdkroot means we don't add any -isysroot to the
 compiler flags.

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


More information about the macports-tickets mailing list