devel/boost-* hardcoded BJAM_ARGS in compiled.mk, there is no way to customize this arguments, thus cannot use c++11/libc++
Fix: Change devel/boost-all/compiled.mk, use "BJAM_ARGS += ..." instead of "BAJM_ARGS = ...", then we can effectively set "BJAMS_ARGS=..." in /etc/make.conf
Patch attached with submission follows:
How-To-Repeat: Build and install devel/boost-* ports, check /usr/local/lib/libboost_*.so, they are all linked to libstdc++ regardless what compilation/linking flags are set
Over to maintainer (via the GNATS Auto Assign Tool)
The right fix would be to correctly pass the defauls/make.conf's
CXXFLAGS directly to bjam, should not be that much complicated, but I
have no time to this right now.
I already to it for fPIC
Here is a small patch that adds an option to compile boost with libc++.
Actually I stumbled upon this report while trying to open mine.
The patch is fairly simple. If anyone wants a good catch on how to pass
CXXFLAGS and LDFLAGS down to BJAM feel free to modify it.
Sphinx of black quartz, judge my vow.
newer boost build happily with libc++