[MacPorts] #53401: Error building nodejs4 4.7.2

MacPorts noreply at macports.org
Tue Feb 7 15:59:59 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 mojca):

 Version 6 uses an "equally inappropriate" syntax:
 {{{
 #!c++
 // OSX 10.9 defaults to libc++ which provides a C++11 <type_traits>
 header.
 #if defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ <
 1090
 #define USE_TR1_TYPE_TRAITS
 #endif

 #ifdef USE_TR1_TYPE_TRAITS
 #include <tr1/type_traits>  // NOLINT(build/c++tr1)
 #else
 #include <type_traits>  // std::remove_reference
 #endif
 }}}

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


More information about the macports-tickets mailing list