aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tbb
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tbb')
-rw-r--r--devel/tbb/Makefile1
-rw-r--r--devel/tbb/files/patch-build-FreeBSD.gcc.inc11
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/tbb/Makefile b/devel/tbb/Makefile
index 97bde9076fe9..031ff9ac260b 100644
--- a/devel/tbb/Makefile
+++ b/devel/tbb/Makefile
@@ -20,6 +20,7 @@ ONLY_FOR_ARCHS_REASON= has not been ported to this platform
USE_LDCONFIG= yes
USE_GMAKE= yes
ALL_TARGET= default
+MAKE_ENV= CPLUS=${CXX}
WRKSRC= ${WRKDIR}/tbb30_018oss
diff --git a/devel/tbb/files/patch-build-FreeBSD.gcc.inc b/devel/tbb/files/patch-build-FreeBSD.gcc.inc
new file mode 100644
index 000000000000..84f5a909d641
--- /dev/null
+++ b/devel/tbb/files/patch-build-FreeBSD.gcc.inc
@@ -0,0 +1,11 @@
+--- build/FreeBSD.gcc.inc.orig 2010-08-28 00:14:43.080234020 +0200
++++ build/FreeBSD.gcc.inc 2010-08-28 00:14:53.400821755 +0200
+@@ -37,7 +37,7 @@
+
+ TBB_NOSTRICT = 1
+
+-CPLUS = g++
++#CPLUS = g++
+ CONLY = gcc
+ LIB_LINK_FLAGS = -shared
+ LIBS = -lpthread