From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 27 22:40:07 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98B2610656A5 for ; Fri, 27 Aug 2010 22:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57AE58FC17 for ; Fri, 27 Aug 2010 22:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7RMe7Mt067098 for ; Fri, 27 Aug 2010 22:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7RMe7DQ067097; Fri, 27 Aug 2010 22:40:07 GMT (envelope-from gnats) Resent-Date: Fri, 27 Aug 2010 22:40:07 GMT Resent-Message-Id: <201008272240.o7RMe7DQ067097@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ganael Laplanche Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA89410656A9 for ; Fri, 27 Aug 2010 22:31:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6CF8FC18 for ; Fri, 27 Aug 2010 22:31:54 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7RMVs6P078634 for ; Fri, 27 Aug 2010 22:31:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7RMVsbW078632; Fri, 27 Aug 2010 22:31:54 GMT (envelope-from nobody) Message-Id: <201008272231.o7RMVsbW078632@www.freebsd.org> Date: Fri, 27 Aug 2010 22:31:54 GMT From: Ganael Laplanche To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150054: Port fix: devel/tbb - Honor CXX variable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 22:40:07 -0000 >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 >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: