ports/150054: Port fix: devel/tbb - Honor CXX variable
Ganael Laplanche
ganael.laplanche at martymac.com
Fri Aug 27 22:40:07 UTC 2010
>Number: 150054
>Category: ports
>Synopsis: Port fix: devel/tbb - Honor CXX variable
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 27 22:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ganael Laplanche
>Release: 8.0-STABLE
>Organization:
http://contribs.martymac.org
>Environment:
FreeBSD home.martymac.com 8.0-STABLE FreeBSD 8.0-STABLE #6: Wed Apr 28 10:33:53 UTC 2010 root at home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL amd64
>Description:
This patch makes devel/tbb honor the CXX variable.
Reported by: Andriy Gapon <avg at icyb.net.ua>
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -aurN tbb.orig/Makefile tbb/Makefile
--- tbb.orig/Makefile 2010-08-27 23:59:56.014540942 +0200
+++ tbb/Makefile 2010-08-28 00:14:11.057756104 +0200
@@ -20,6 +20,7 @@
USE_LDCONFIG= yes
USE_GMAKE= yes
ALL_TARGET= default
+MAKE_ENV= CPLUS=${CXX}
WRKSRC= ${WRKDIR}/tbb30_018oss
diff -aurN tbb.orig/files/patch-build-FreeBSD.gcc.inc tbb/files/patch-build-FreeBSD.gcc.inc
--- tbb.orig/files/patch-build-FreeBSD.gcc.inc 1970-01-01 01:00:00.000000000 +0100
+++ tbb/files/patch-build-FreeBSD.gcc.inc 2010-08-28 00:15:36.825016472 +0200
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list