[MacPorts] #48627: ncurses @6.0_0 fails to build on Lion with cxx_stdlib=libc++

MacPorts noreply at macports.org
Tue Sep 8 06:12:56 PDT 2015


#48627: ncurses @6.0_0 fails to build on Lion with cxx_stdlib=libc++
-----------------------+--------------------
  Reporter:  Damien@…  |      Owner:  jmr@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:  wontfix   |   Keywords:  lion
      Port:  ncurses   |
-----------------------+--------------------

Comment (by william@…):

 For what it's worth, there's a quick hack which will allow the port to
 build, which is to add the following fragment to the port's
 configure.diff:

 {{{
 @@ -19311,7 +19311,7 @@
    cf_stdcpp_libname=stdcpp
    ;;
  (*)
 -       cf_stdcpp_libname=stdc++
 +       cf_stdcpp_libname=c++
         ;;
  esac
  echo "$as_me:19317: checking for library $cf_stdcpp_libname" >&5
 }}}

 As you can see, that overrides the existing forcing of linking libstdc++
 with an equally invalid forcing of linking libc++ … which is of course
 fine for our needs :)

 Clearly this should be fixed upstream. I'll post to ncurses' mailing list,
 linking this ticket!

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


More information about the macports-tickets mailing list