CVSROOT: /cvs Module name: ports Changes by: j...@cvs.openbsd.org 2019/01/05 04:38:49
Modified files: devel/llvm : Makefile Log message: Actually depend on the g++ package on non-clang archs On non-clang archs, ports-clang uses the libestdc++ backend from ports-gcc, so it needs the headers in the g++ package at runtime. Testing CHOSEN_COMPILER == "ports-gcc" is nice semantically but since it happens after including bsd.port.mk, it's too late to change TEST/RUN_DEPENDS. Use a different test that may not be optimal but works in practice, so that the dep is correctly registered. This should fix random build failures due to dpb junking in bulk builds on non-clang archs. Problem pointed out by Goerge Koehler, ok sthen@