Re: git: fb4c16ee0f14 - main - emulators/{ppsspp,rpcs3,yuzu}: temporarily expand USES=elfctl

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Sat, 04 Jan 2025 13:10:02 UTC
On Sat, 2025-01-04 at 12:07, Gleb Popov <arrowd@freebsd.org> wrote:

> On Sat, Jan 4, 2025 at 5:27 AM Jan Beich <jbeich@freebsd.org> wrote:

>> The branch main has been updated by jbeich:

>> URL: https://cgit.FreeBSD.org/ports/commit/?id=fb4c16ee0f141edc110224bf43efe8c295f3b8b9

>> commit fb4c16ee0f141edc110224bf43efe8c295f3b8b9
>> Author:     Jan Beich <jbeich@FreeBSD.org>
>> AuthorDate: 2025-01-04 01:28:47 +0000
>> Commit:     Jan Beich <jbeich@FreeBSD.org>
>> CommitDate: 2025-01-04 02:26:34 +0000

>>     emulators/{ppsspp,rpcs3,yuzu}: temporarily expand USES=elfctl

>>     After a CMake upgrade some ports spuriously rebuild binaries.
>>     Unfortunately, USES=elfctl relies on BUILD_WRKSRC being immutable
>>     after build phase ends.

>>     PR:             283836

> I always wondered why Uses/elfctl.mk operates on the build dir rather
> than stage dir.

It was requested to be this way because, "For general infrastructure, I
think you want it to be post-build not post-install because test targets
may run on the build tree binary."