compiling boost with non-default g++

Baptiste Daroussin bapt at FreeBSD.org
Tue Nov 19 18:13:11 UTC 2013


On Fri, Apr 26, 2013 at 08:15:02PM -0400, mi at aldan.algebra.com wrote:
> Hello!
> 
> I wanted to build devel/boost-libs with g++48, but the port kept using the stock 
> g++ no matter, what I tried.
> 
> It seems 
> <http://boost.2283326.n4.nabble.com/Configuring-multiple-versions-of-gcc-td2692129.html>, 
> for non-default version of g++, the user-config.jam needs to be altered. Whether 
> boost-all/compiled.mk is the right place for this setting, is up to you to 
> decide... This seems to be working for me -- the port is building as I type this 
> -- but might it break some other consumer of compiled.mk?
> 
>     Index: compiled.mk
>     ===================================================================
>     --- compiled.mk (revision 316411)
>     +++ compiled.mk (working copy)
>     @@ -58,3 +59,6 @@
>       post-patch:
>              @${REINPLACE_CMD} -e 's|${PORTVERSION}|${BOOST_SHARED_LIB_VER}|g' \
>                      ${WRKSRC}/Jamroot
>     +.if ${BOOST_TOOLSET} == gcc
>     +       @${ECHO} "using gcc : : ${CXX} ;" >>
>     ${WRKSRC}/tools/build/v2/user-config.jam
>     +.endif
> 
> Yours,
> 
>     -mi

You are lucky that I'm looking at this mailing list, boost is being maintained
by office@ while this is the dead openoffice@ mailing list :)

Approved for that commit.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-openoffice/attachments/20131119/9ab2973b/attachment.sig>


More information about the freebsd-openoffice mailing list