emulators/virtualbox-ose-kmod: always use compiler "cc" which is on my basesystem CLANG 3.2 (FreeBSD 10.0)

Bernhard Fröhlich decke at bluelife.at
Mon Dec 31 06:22:18 UTC 2012

Am 30.12.2012 15:15 schrieb "O. Hartmann" <ohartman at zedat.fu-berlin.de>:
> Port emulators/virtualbox-ose-kmod is known not to compile with CLANG
> 3.1/3.2. Therefor, it should be compiled with gcc.
> Either setting USE_GCC=4.6+ or USE_GCC=any in the port's makefile or by
> setting a global file with the directive
> # emulators/virtualbox-ose
> .if ${.CURDIR:M*/emulators/virtualbox-ose*}
> USE_GCC=                4.6+
> .endif
> do not work! Compiling the port is always nailed down to use "cc" which
> is CLANG 3.2 by default.

Vbox from ports can only be compiled with base GCC 4.2 so USE_GCC=any
should be right but I've never tested it. You could also try the new vbox
from github which includes a patch to build correctly with GCC 4.6.


More information about the freebsd-ports mailing list