Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 22:31:54 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150054: Port fix: devel/tbb - Honor CXX variable
Message-ID:  <201008272231.o7RMVsbW078632@www.freebsd.org>
Resent-Message-ID: <201008272240.o7RMe7DQ067097@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008272231.o7RMVsbW078632>