[MacPorts] #45300: akonadi build fails

MacPorts noreply at macports.org
Thu Oct 9 05:31:30 PDT 2014


#45300: akonadi build fails
-------------------------+---------------------
  Reporter:  jwhowse4@…  |      Owner:  nicos@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.1
Resolution:              |   Keywords:
      Port:  akonadi     |
-------------------------+---------------------

Comment (by jeremyhu@…):

 If it requires C++11, you have 2 options:

 1) Error out if C++ is not available (see the webkig-gtk port for an
 example)

 or

 2) Error out if Leopard or earlier and use libc++ on Snow Leopard or
 later.  Only do this if it's a leaf application that other ports link
 against and it does not link against other C++ ports:

 {{{
 compiler.blacklist *gcc* {clang < 421}

 platform darwin {
     configure.cxx_stdlib libc++
     depends_lib-append port:libcxx

     pre-fetch {
         if {![file exists /usr/lib/libc++.dylib]} {
             ui_error "$name requires a C++11 runtime, which your
 configuration does not allow"
             error "unsupported configuration"
         }
     }
 }
 }}}

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


More information about the macports-tickets mailing list