maintainer-feedback requested: [Bug 280863] devel/libclc: incorrect reference to llvm15 in BUILD_DEPENDS

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 Aug 2024 12:38:59 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 280863: devel/libclc: incorrect reference to llvm15 in BUILD_DEPENDS
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280863



--- Description ---
When using FLAVOR=lite for devel/llvm15 package devel/libclc fails to check
dependencies and tries to install llvm15 again:

root@desktop:/usr/ports/devel/libclc# pkg info | grep  llvm15-lite
llvm15-lite-15.0.7_10	       LLVM and Clang
root@desktop:/usr/ports/devel/libclc# make
===>  License LLVM accepted by the user
===>   libclc-15.0.4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libclc-15.0.4 for building
===>  Extracting for libclc-15.0.4
=> SHA256 Checksum OK for libclc-15.0.4.src.tar.xz.
===>  Patching for libclc-15.0.4
===>  Applying FreeBSD patches for libclc-15.0.4 from
/usr/ports/devel/libclc/files
===>   libclc-15.0.4 depends on package: llvm15>=15.0 - not found
===>  License BSD3CLAUSE LLVM MIT PD REGEX LLVM2 accepted by the user
===>   llvm15-lite-15.0.7_10 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by llvm15-lite-15.0.7_10 for building
===>  Extracting for llvm15-lite-15.0.7_10

When BUILD_DEPENDS changed as described in a patch package builds successfully.