From owner-svn-ports-all@FreeBSD.ORG Wed May 1 18:15:29 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 675E594D; Wed, 1 May 2013 18:15:29 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 59A3A1DBC; Wed, 1 May 2013 18:15:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r41IFT0Y053491; Wed, 1 May 2013 18:15:29 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r41IFTMR053486; Wed, 1 May 2013 18:15:29 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305011815.r41IFTMR053486@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 1 May 2013 18:15:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317037 - in head/devel/boost-jam: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2013 18:15:29 -0000 Author: bapt Date: Wed May 1 18:15:28 2013 New Revision: 317037 URL: http://svnweb.freebsd.org/changeset/ports/317037 Log: 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 Allow building the executable with any compiler from the gcc-family (such as gcc48) Submitted by: mi Added: head/devel/boost-jam/files/ head/devel/boost-jam/files/patch-tools__build__v2__engine__build.sh (contents, props changed) Modified: head/devel/boost-jam/Makefile Modified: head/devel/boost-jam/Makefile ============================================================================== --- head/devel/boost-jam/Makefile Wed May 1 18:06:30 2013 (r317036) +++ head/devel/boost-jam/Makefile Wed May 1 18:15:28 2013 (r317037) @@ -8,6 +8,8 @@ PORTREVISION= 1 PLIST_FILES= bin/bjam +EXTRACT_AFTER_ARGS= ${DISTNAME}/tools/build/v2/engine + .include "${.CURDIR}/../boost-all/common.mk" do-build: Added: head/devel/boost-jam/files/patch-tools__build__v2__engine__build.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/boost-jam/files/patch-tools__build__v2__engine__build.sh Wed May 1 18:15:28 2013 (r317037) @@ -0,0 +1,14 @@ +--- ./tools/build/v2/engine/build.sh.orig 2012-04-26 05:35:55.000000000 +0200 ++++ ./tools/build/v2/engine/build.sh 2013-05-01 10:24:50.730247378 +0200 +@@ -128,8 +128,9 @@ + BOOST_JAM_CC="gcc -DNT" + ;; + +- gcc) +- BOOST_JAM_CC=gcc ++ gcc*) ++ BOOST_JAM_CC=$BOOST_JAM_TOOLSET ++ BOOST_JAM_TOOLSET=gcc + ;; + + darwin)