[MacPorts] #53401: Error building nodejs4 4.7.2
MacPorts
noreply at macports.org
Wed Feb 1 22:21:23 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 |
------------------------+----------------------
Comment (by juliangilbey):
Replying to [comment:12 ryandesign]:
> Has duplicates #53418, #53454.
>
> Commenting out the tr1 references would presumably cause the port fail
to build with libstdc++ (i.e. OS X 10.8 and earlier) so that's not a
suitable general-purpose fix.
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 early OS X versions.
--
Ticket URL: <https://trac.macports.org/ticket/53401#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list