[MacPorts] #57551: cmake @3.12.4 does not build on Mac OS X 10.4.11, Tiger, because it does not knaw hat unsetenv() does no exist here

MacPorts noreply at macports.org
Fri Apr 21 02:55:37 UTC 2023


#57551: cmake @3.12.4 does not build on Mac OS X 10.4.11, Tiger, because it does
not knaw hat unsetenv() does no exist here
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:  duplicate  |   Keywords:  tiger
      Port:  cmake      |
------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:4 kencu]:
 > The libuv version in cmake fails in a whole bunch of places on Tiger.
 >
 > This particular error is best fixed on Tiger by #defining
 `__DARWIN_UNIX03` to get the newer definition in `stdlib.h`, so it's an
 easy one to fix, viz this bit from `stdlib.h` on Tiger:
 > {{{
 > #if __DARWIN_UNIX03
 > int    unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
 > #else /* !__DARWIN_UNIX03 */
 > void   unsetenv(const char *);
 > #endif /* __DARWIN_UNIX03 */
 > }}}
 >

 Does not seem to help, sadly. I got this pain now in `R` on Tiger:
 https://trac.macports.org/ticket/67275

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


More information about the macports-tickets mailing list