This port has a hardcoded dependency on gcc and will not compile if gcc is not present in the base system. It does honor $CXX but not $CC. In fact, this port requires the presence of a file 'FreeBSD.<compiler>.inc' to actually accept using a given C compiler. At this time, only 'FreeBSD.gcc.inc' is present and therefore gcc is required. My solution here is to create a copy the file with the correct name for the requested C compiler and make the appropriate substitutions. This has been tested to work with base clang, base gcc and lang/gcc. Fix: Patch attached:
Responsible Changed From-To: freebsd-ports-bugs->martymac Over to maintainer (via the GNATS Auto Assign Tool)
Hi Christian, Thank you very much for your patch. I will upgrade devel/tbb to 4.0.5 soon (after the upcoming ports freeze) ; I'll integrate your patch with this update. Best regards, -- Ganael LAPLANCHE <ganael.laplanche@martymac.org> http://www.martymac.org | http://contribs.martymac.org FreeBSD: martymac <martymac@FreeBSD.org>, http://www.FreeBSD.org
State Changed From-To: open->closed Committed, thanks!