Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 13:42:23 -0400
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        office@freebsd.org
Subject:   devel/boost-bjam
Message-ID:  <517ABC7F.6040807@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010000080302000403030403
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello!

The attached patches achieve too things:

 1. Dramatically reduce the diskspace used for building bjam -- by extracting
    only the tools/build/v2/engine subdirectory from the source tarball, instead
    of the whole thing. Plenty of time is saved too -- though the giant tarball
    still needs to be full read, most of the contents does not need to be
    written to disk.
 2. Allow building the executable with any compiler from the gcc-family (such as
    gcc48).

Please, commit or allow me to. Thank you,

    -mi



--------------010000080302000403030403
Content-Type: text/plain; charset=KOI8-U;
 name="boost-jam.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="boost-jam.patch"

Index: Makefile
===================================================================
--- Makefile	(revision 316411)
+++ Makefile	(working copy)
@@ -7,6 +7,7 @@
 PORTREVISION=	1
 
 PLIST_FILES=	bin/bjam
+EXTRACT_AFTER_ARGS=|${TAR} -xpf - ${DISTNAME}/tools/build/v2/engine
 
 .include "${.CURDIR}/../boost-all/common.mk"
 
Index: files/patch-gcc-versions
===================================================================
--- files/patch-gcc-versions	(revision 0)
+++ files/patch-gcc-versions	(working copy)
@@ -0,0 +1,12 @@
+--- tools/build/v2/engine/build.sh	2012-04-25 23:35:55.000000000 -0400
++++ tools/build/v2/engine/build.sh	2013-04-26 13:02:00.000000000 -0400
+@@ -129,6 +129,7 @@
+     ;;
+ 
+-    gcc)
+-    BOOST_JAM_CC=gcc
++    gcc*)
++    BOOST_JAM_CC=$BOOST_JAM_TOOLSET
++    BOOST_JAM_TOOLSET=gcc
+     ;;
+ 

--------------010000080302000403030403--



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