[Bug 263851] [patch] devel/tbb: Check CC and COMPILER_TYPE at time of applying the post-extract tgt

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 May 2022 19:06:37 UTC

            Bug ID: 263851
           Summary: [patch] devel/tbb: Check CC and COMPILER_TYPE at time
                    of applying the post-extract tgt
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: martymac@FreeBSD.org
          Reporter: lab+bsd@thinkum.space
          Assignee: martymac@FreeBSD.org
             Flags: maintainer-feedback?(martymac@FreeBSD.org)

Created attachment 233798
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233798&action=edit
comparing CC:T and COMPILER_TYPE for those variable's values when the tgt shell
cmds are evaluated

This patch draws the test for comparison of CC basename and COMPILER_TYPE in
post-extract for devel/tbb into the shell environment at the time when the
post-extract tgt will have been applied. For most build environments, this may
result in a post-extract behavior equivalent to that with the original


When either CC (e.g 'cc') or COMPILER_TYPE (e.g 'clang') is modified under
local /usr/ports/Makefile.inc then each variable's value at the time of
applying the post-extract tgt may not be equivalent to the value as at the time
when the port Makefile is evaluated.

For build environments that modify CC or COMPILER_TYPE under
/usr/ports/Makefile.inc such that the values of ${CC:T} and ${COMPILER_TYPE}
are not equivalent before Makefile.inc and that the values are equivalent after
Makefile.inc, then this changeset may serve to prevent the creation of a
self-referential symbolic link in post-extract for devel/tbb

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