Created attachment 198538 [details] cquery.diff Cquery works fine with LLVM 7 and I'd like to be able to override it for myself when necessary. This adds an LLVM_DEFAULT variable so that users can override it in their make.conf. It's similar to what the Gecko ports already use.
A commit references this bug: Author: tobik Date: Thu Nov 8 12:07:54 UTC 2018 New revision: 484446 URL: https://svnweb.freebsd.org/changeset/ports/484446 Log: devel/cquery: Allow overriding the LLVM version via LLVM_DEFAULT - Cquery builds and works fine with LLVM 7 for example - Make the libclang.so spec more specific to prevent the framework from picking the wrong library version from llvm60 with LLVM_DEFAULT=70 when both llvm60 and llvm70 are installed in the build environment PR: 232598 Approved by: henry.hu.sh@gmail.com (maintainer timeout, 2 weeks) Changes: head/devel/cquery/Makefile