[MacPorts] #51196: nss 3.23 does not build on Mac Os X 10.6.8, Snow Leopard, because of "unrecognized command line option "-std=c++0x""

MacPorts noreply at macports.org
Tue Apr 26 02:09:48 PDT 2016


#51196: nss 3.23 does not build on Mac Os X 10.6.8, Snow Leopard, because of
"unrecognized command line option "-std=c++0x""
------------------------------+--------------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.4
Resolution:                   |   Keywords:
      Port:  nss              |
------------------------------+--------------------------------

Comment (by mojca@…):

 On 10.7 there is a related problem:
 {{{
 In file included from der_getint_unittest.cc:14:
 ../../external_tests/common/scoped_ptrs.h:33:1: error: no type named
 'unique_ptr' in namespace 'std'
 SCOPED(PK11SlotInfo);
 }}}

 An ugly workaround that worked for me was adding
 {{{
 build.args-append NSS_DISABLE_GTESTS=1
 }}}

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


More information about the macports-tickets mailing list