The conditions in the graphics/dri Makefile appear to be incorrect. On a recent install of -HEAD (r274728) on amd64, when I install this port, it insists on building the llvm34 compiler from ports. Shoudn't the base compiler in -HEAD be good enough to compile this port? root@busybox-16: cc -v FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd11.0 Thread model: posix Selected GCC installation:
Auto-assigned to maintainer x11@FreeBSD.org
The llvm port isn't the compile but a set of libraries used by the clang (lang/clang*) compiler. The Gallium component of dri uses these libraries. Since llvm API isn't stable and the llvm libraries aren't installed in base we need to use the port version.