[MacPorts] #55781: kdevplatform @4.7.4: error: expected expression

MacPorts noreply at macports.org
Mon Feb 19 15:51:00 UTC 2018


#55781: kdevplatform @4.7.4: error: expected expression
---------------------------+-------------------------
  Reporter:  fpiraneo      |      Owner:  NicosPavlov
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.4.2
Resolution:                |   Keywords:
      Port:  kdevplatform  |
---------------------------+-------------------------

Comment (by kencu):

 This Portfile will need to be adjusted somewhat. This part:
 {{{
 #Using c++11 for Lion and higher in case of clang 64-bit
 if {${configure.compiler} eq "clang" && ${os.platform} eq "darwin" &&
 ${os.major} >= 11} {
     lappend merger_configure_args(x86_64)
 -DCMAKE_CXX_FLAGS='-stdlib=libc++ -std=c++11' -DHAVE_UNORDERED_MAP=1
     if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
         configure.args-append
 -DCMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++11" -DHAVE_UNORDERED_MAP=1
     }
 }
 }}}
 would not work correctly with the `cxx11 1.1` PortGroup, as it is forcing
 `stdlib=libc++` rather than allowing that PG to function as designed.

 That doesn't explain the OP's error, though.

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


More information about the macports-tickets mailing list