Bug 232598

Summary: devel/cquery: Allow overriding LLVM version
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: henry.hu.sh
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (henry.hu.sh)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cquery.diff tobik: maintainer-approval? (henry.hu.sh)

Description Tobias Kortkamp freebsd_committer 2018-10-24 09:04:40 UTC
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.
Comment 1 commit-hook freebsd_committer 2018-11-08 12:08:19 UTC
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