aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tbb
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-09-03 16:52:37 +0800
committerpav <pav@FreeBSD.org>2010-09-03 16:52:37 +0800
commitb589101d5249d2df5cac6aab70ebe6e6119230c3 (patch)
treed6b078a1367d58ef2f3ba28ffafd8154dacee931 /devel/tbb
parent16ca4bfb155d6359354eb2d854d1bb337e812418 (diff)
downloadfreebsd-ports-gnome-b589101d5249d2df5cac6aab70ebe6e6119230c3.tar.gz
freebsd-ports-gnome-b589101d5249d2df5cac6aab70ebe6e6119230c3.tar.zst
freebsd-ports-gnome-b589101d5249d2df5cac6aab70ebe6e6119230c3.zip
- Honor CXX
PR: ports/150054 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
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