Date: Sat, 07 May 2022 19:06:37 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263851] [patch] devel/tbb: Check CC and COMPILER_TYPE at time of applying the post-extract tgt Message-ID: <bug-263851-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263851 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=3D233798&action= =3Dedit comparing CC:T and COMPILER_TYPE for those variable's values when the tgt s= hell 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 Makefile. Rationale: 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 a= fter Makefile.inc, then this changeset may serve to prevent the creation of a self-referential symbolic link in post-extract for devel/tbb --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263851-7788>