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
--N7HXVILz59yg1nI8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2013 at 08:15:02PM -0400, mi@aldan.algebra.com wrote: > Hello! >=20 > I wanted to build devel/boost-libs with g++48, but the port kept using th= e stock=20 > g++ no matter, what I tried. >=20 > It seems=20 > <http://boost.2283326.n4.nabble.com/Configuring-multiple-versions-of-gcc-= td2692129.html>,=20 > for non-default version of g++, the user-config.jam needs to be altered. = Whether=20 > boost-all/compiled.mk is the right place for this setting, is up to you t= o=20 > decide... This seems to be working for me -- the port is building as I ty= pe this=20 > -- but might it break some other consumer of compiled.mk? >=20 > Index: compiled.mk > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- compiled.mk (revision 316411) > +++ compiled.mk (working copy) > @@ -58,3 +59,6 @@ > post-patch: > @${REINPLACE_CMD} -e 's|${PORTVERSION}|${BOOST_SHARED_LIB_VE= R}|g' \ > ${WRKSRC}/Jamroot > +.if ${BOOST_TOOLSET} =3D=3D gcc > + @${ECHO} "using gcc : : ${CXX} ;" >> > ${WRKSRC}/tools/build/v2/user-config.jam > +.endif >=20 > Yours, >=20 > -mi You are lucky that I'm looking at this mailing list, boost is being maintai= ned by office@ while this is the dead openoffice@ mailing list :) Approved for that commit. regards, Bapt --N7HXVILz59yg1nI8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlKLqjIACgkQ8kTtMUmk6Ew93ACfekGumYzXPdy3V9f5h9HOr6wp RacAoLYtIAwFsgSGnGrc9YatJP6DMDrb =QypV -----END PGP SIGNATURE----- --N7HXVILz59yg1nI8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131119181306.GT12196>