Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 19:13:06 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        mi@aldan.algebra.com
Cc:        openoffice@FreeBSD.org
Subject:   Re: compiling boost with non-default g++
Message-ID:  <20131119181306.GT12196@ithaqua.etoilebsd.net>
In-Reply-To: <517B1886.5020501@aldan.algebra.com>
References:  <517B1886.5020501@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, Apr 26, 2013 at 08:15:02PM -0400, mi@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlKLqjIACgkQ8kTtMUmk6Ew93ACfekGumYzXPdy3V9f5h9HOr6wp
RacAoLYtIAwFsgSGnGrc9YatJP6DMDrb
=QypV
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131119181306.GT12196>