Compiling software with c++11 support

Lawrence Velázquez larryv at
Wed Sep 11 07:56:21 PDT 2013

On Sep 11, 2013, at 5:57 AM, Jakub Sochor <jakub at> wrote:

> i have a question about the c++11 support. 
> Is in MacPorts some configuration that will force use all c++ sources to be compiled by host clang with flags '-std=c++11 -stdlib=libc++'.
> I tried configure.cxxflags but that had no effect in OpenCV for example. 
> Can you please give me some pointers what should I do, or if it is even possible. 

These is no supported way to do this, although there are hacky workarounds.

What exactly do you wish to accomplish?


More information about the macports-users mailing list