[MacPorts] #53401: Error building nodejs4 4.7.2
MacPorts
noreply at macports.org
Sat Feb 11 05:44:45 UTC 2017
#53401: Error building nodejs4 4.7.2
------------------------+----------------------
Reporter: papachoco | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.5
Resolution: | Keywords:
Port: nodejs4 |
------------------------+----------------------
Changes (by ryandesign):
* cc: Smoobly, kpreid (added)
Comment:
Has duplicates #53448 and #53540.
Replying to [comment:15 juliangilbey]:
> There is currently a partial patch for this issue already in the
Portfile; it is only used on macOS Sierra and beyond:
>
> {{{
>
> if {${os.major} > 12} {
> patchfiles-append patch-src-util.h.diff
> }
>
> }}}
>
> So all that needs doing is for patch-src-util.h.diff to be extended to
cover this additional part of the header file, and it will work on macOS
Sierra, and not touch earlier OS X versions.
Darwin 12 is Mountain Lion, so this patch currently applies on OS versions
later than Mountain Lion -- which is to say, OS versions that default to
libc++ (which doesn't have tr1 anymore) instead of libstdc++ (which still
does). So in addition to whatever change is needed to resolve this ticket,
this condition should presumably be changed to not rely on the OS version
but on the value of the `configure.cxx_stdlib` variable.
--
Ticket URL: <https://trac.macports.org/ticket/53401#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list