[Bug 257459] sysutils/devcpu-data: respect CC

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jul 2021 19:43:02 UTC

            Bug ID: 257459
           Summary: sysutils/devcpu-data: respect CC
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbruno@FreeBSD.org
          Reporter: evgeniy@khramtsov.org
          Assignee: sbruno@FreeBSD.org
             Flags: maintainer-feedback?(sbruno@FreeBSD.org)
             Flags: maintainer-feedback?

Created attachment 226743
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226743&action=edit
v1 (use "git am")

/usr/bin/cc can be absent due to base built WITHOUT_CLANG,
external toolchain from ports can be installed instead.

Respect $CC from environment, e.g. when
/usr/local/share/toolchains/*.mk gets included:

cc ucode-split.c -o ucode-split
sh: cc: not found
*** [ucode-split] Error code 127

Tier-1 architectures poudriere testport (use zstdless):
(ports 3036f585e6b6af48cb255acf2cdc156c243afe95 Tue Jul 27 21:49:07 2021 +0300)

11.4/amd64: OK
11.4/i386: OK
12.2/amd64: OK
12.2/i386: OK
13.0/amd64: OK

Runtime on 14-CURRENT base fork + ports fork: OK (dmesg CPU entry appears).

PORTREVISION is not bumped because ucode files of package did not change, only
manifest with ports tree hash:

(root of extracted package, git repo initialized before patch) $ git diff

modified:   +MANIFEST

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