aboutsummaryrefslogtreecommitdiff
path: root/devel/boost-jam
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-01 18:15:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-01 18:15:28 +0000
commit2c16ea8d58557656e0ea714f7a567b4390a2b814 (patch)
tree30d58c458fecfa268a4fb9e31237ab7dd6c15d4c /devel/boost-jam
parent9e9db9565836e98333d48ee502cd3377ab8cd88f (diff)
Notes
Diffstat (limited to 'devel/boost-jam')
-rw-r--r--devel/boost-jam/Makefile2
-rw-r--r--devel/boost-jam/files/patch-tools__build__v2__engine__build.sh14
2 files changed, 16 insertions, 0 deletions
diff --git a/devel/boost-jam/Makefile b/devel/boost-jam/Makefile
index 6ced417ad345..a54161cf54a2 100644
--- a/devel/boost-jam/Makefile
+++ b/devel/boost-jam/Makefile
@@ -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:
diff --git a/devel/boost-jam/files/patch-tools__build__v2__engine__build.sh b/devel/boost-jam/files/patch-tools__build__v2__engine__build.sh
new file mode 100644
index 000000000000..f94d6007db3e
--- /dev/null
+++ b/devel/boost-jam/files/patch-tools__build__v2__engine__build.sh
@@ -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)