FreeBSD Bugzilla – Bug 171297
[PATCH] devel/tbb: Remove hardcoded dependency on gcc
Last modified: 2012-12-12 07:43:57 UTC
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:
Over to maintainer (via the GNATS Auto Assign Tool)
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.
Ganael LAPLANCHE <email@example.com>
http://www.martymac.org | http://contribs.martymac.org
FreeBSD: martymac <martymac@FreeBSD.org>, http://www.FreeBSD.org