svn commit: r317037 - in head/devel/boost-jam: . files

Baptiste Daroussin bapt at FreeBSD.org
Wed May 1 18:15:29 UTC 2013


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)


More information about the svn-ports-all mailing list