[MacPorts] #52442: opencsg @1.4.0 does not honor -stdlib=libc++ and patch to fix

MacPorts noreply at macports.org
Wed Sep 28 22:15:17 CEST 2016


#52442: opencsg @1.4.0 does not honor -stdlib=libc++ and patch to fix
--------------------------------------+------------------------
  Reporter:  ken.cunningham.webuse@…  |      Owner:  dstrubbe@…
      Type:  defect                   |     Status:  new
  Priority:  Normal                   |  Milestone:
 Component:  ports                    |    Version:  2.3.4
Resolution:                           |   Keywords:
      Port:  opencsg                  |
--------------------------------------+------------------------

Comment (by dstrubbe@…):

 Do me a favor, try this more general patch and see if it puts the right
 thing into CXXFLAGS in your Makefiles.

 {{{
 Index: ../../_resources/port1.0/group/qmake-1.0.tcl
 ===================================================================
 --- ../../_resources/port1.0/group/qmake-1.0.tcl        (revision 153298)
 +++ ../../_resources/port1.0/group/qmake-1.0.tcl        (working copy)
 @@ -44,8 +44,9 @@
      configure.pre_args-append       PREFIX=${prefix} \
                                      "QMAKE_CC=${configure.cc}" \
                                      "QMAKE_CXX=${configure.cxx}" \
 -                                    "QMAKE_OBJC=${configure.objc}"
 -    configure.args-append           "CFLAGS=\"${configure.cflags}
 [get_canonical_archflags cc]\""
 +                                    "QMAKE_OBJC=${configure.objc}" \
 +                                    "QMAKE_CFLAGS=\"${configure.cflags}
 [get_canonical_archflags cc]\"" \
 +
 "QMAKE_CXXFLAGS=\"${configure.cxxflags} [get_canonical_archflags cxx]\""
      configure.universal_args-delete --disable-dependency-tracking

      if {[variant_exists universal] && [variant_isset universal]} {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/52442#comment:5>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system


More information about the macports-tickets mailing list