[MacPorts] #56523: modglue @1.19 fails to build against libsigcxx2 @2.10.0

MacPorts noreply at macports.org
Fri Sep 14 06:50:21 UTC 2018


#56523: modglue @1.19 fails to build against libsigcxx2 @2.10.0
----------------------+--------------------
  Reporter:  jmroot   |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  modglue  |
----------------------+--------------------

Comment (by kencu):

 One trivial way to "fix" it is to force it to build with `clang-7.0`:
 {{{
 $ port -v installed modglue
 The following ports are currently installed:
   modglue @1.19_0 (active) platform='darwin 17' archs='x86_64'
 date='2018-09-13T23:46:38-0700'
 }}}
 `clang-7.0` defaults to c++14, and so takes all the c++11 needs in stride
 without any changes in the portfile or the port. To fix it correctly I
 believe getting `-std=c++11` onto the build  and link lines would do the
 trick. Should also add the -stdlib=${configure.cxx_stdlib} while we're at
 it, along with all the other CXX flags.

 This sounds like a two-day project for me, or two minutes for Ryan :>

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


More information about the macports-tickets mailing list