[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280863

            Bug ID: 280863
           Summary: devel/libclc: incorrect reference to llvm15 in
                    BUILD_DEPENDS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: KOT@MATPOCKuH.Ru
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Created attachment 252822
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252822&action=edit
Makefile.patch

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.