#49299: akonadi build fails after qt4-mac update -------------------------+--------------------- Reporter: jwhowse4@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: akonadi | -------------------------+--------------------- Comment (by michaelld@…): Replying to [comment:11 nicos@…]:
Thanks for having looked at that, I would have probably been slightly lost.
NP. I thought this issue was qt4-mac related, but it's something I've dealt with before so it's not a big deal.
If I follow correctly, your patch is overriding the behaviour of the cxx11 portgroup in case of using libstdc++ to enable compilation anyway. Could not this lead to issues with runtime dependencies? Akonadi is then potentially used by several ports, in particular KDE ones.
The cxx11 PortGroup errors out when using libstdc++. But, folks using 10.8 and prior will have libstdc++ by default & the GCC 4.8+ compilers can handle c++11 pretty easily on that setup. My fix is not particularly robust, but it generally works well enough & keeps things working on those older OSs. on 10.9+, just use the cxx11 PortGroup & that's good enough. Pretty simple overall. -- Ticket URL: <https://trac.macports.org/ticket/49299#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X