[Bug 257566] security/cyrus-sasl2: respect CC

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 Aug 2021 16:34:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257566

            Bug ID: 257566
           Summary: security/cyrus-sasl2: 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: ume@FreeBSD.org
          Reporter: evgeniy@khramtsov.org
             Flags: maintainer-feedback?(ume@FreeBSD.org)
          Assignee: ume@FreeBSD.org
 Attachment #226882 maintainer-approval?
             Flags:
             Flags: maintainer-feedback?

Created attachment 226882
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226882&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:

configure:4847: checking for gcc
configure:4877: result: no
configure:4940: checking for cc
configure:4987: result: no
configure:5043: checking for cl.exe
configure:5073: result: no
configure:5097: error: in
`/usr/local/poudriere/ports/ei/security/cyrus-sasl2/work/cyrus-sasl
    -2.1.27':
configure:5100: error: no acceptable C compiler found in $PATH

security/cyrus-sasl2 cannot detect devel/llvm12, at least (and w/ $PATH
adjusted)

Tier 1 architectures poudriere:

11.4/i386 OK:
bulk diff https://codeberg.org/ei/misc/commit/ef89234a
pkg diff https://codeberg.org/ei/misc/commit/a53552d4
testport https://codeberg.org/ei/misc/commit/3bc0cd7e

11.4/amd64: OK
bulk diff https://codeberg.org/ei/misc/commit/7aaf154e
pkg diff https://codeberg.org/ei/misc/commit/a85bbbc3
testport https://codeberg.org/ei/misc/commit/6339fe2c

12.2/i386: OK
bulk diff https://codeberg.org/ei/misc/commit/e4971a28
pkg diff https://codeberg.org/ei/misc/commit/767aedd8
testport https://codeberg.org/ei/misc/commit/4915eb70

12.2/amd64: OK
bulk diff https://codeberg.org/ei/misc/commit/07e7716b
pkg diff https://codeberg.org/ei/misc/commit/034da552
testport https://codeberg.org/ei/misc/commit/31c7e883

13.0/amd64: OK
bulk diff https://codeberg.org/ei/misc/commit/ab62c9d1
pkg diff https://codeberg.org/ei/misc/commit/cb8a8da1
testport https://codeberg.org/ei/misc/commit/a4ce4cef

13.0/aarch64 (via qemu-user-static): OK
bulk diff https://codeberg.org/ei/misc/commit/70648b43
pkg diff https://codeberg.org/ei/misc/commit/27b51c86
testport https://codeberg.org/ei/misc/commit/1fcd3d55

Note, now that CC is respected, native-xtoolchain for 13.0/aarch64 gets
used by default, and the build is about ~3 seconds shorter.

Extracted package *contents* (! MANIFEST) ("pkg diff") did not change,
PORTREVISION is left intact.

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