In the new ebuild, portage checks the existence of "liblzma.so". However, on macOS, it is "liblzma.dylib". IMO we can use `get_libname` here. Reproducible: Always Steps to Reproduce: 1. find and enter a macOS prefix 2. emerge xz-utils
Created attachment 896027 [details, diff] a small patch
Created attachment 896028 [details] the emerge --info output
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4b5440ef1e9b77b465dcaf0a0e104238ff6ed8 commit 3f4b5440ef1e9b77b465dcaf0a0e104238ff6ed8 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-06-18 15:45:38 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-06-18 15:49:06 +0000 app-arch/xz-utils: unbreak install on macOS Fix for bug 934370 added a sanity check, but since Mach-O targets have different naming for shared libraries, this caused the installation to fail even though the build was fine. Thanks ZongyuZ for the patch for this in bug #934515 using get_libname function to make this work on macOS too. Closes: https://bugs.gentoo.org/934515 Signed-off-by: Fabian Groffen <grobian@gentoo.org> app-arch/xz-utils/xz-utils-5.6.2-r1.ebuild | 8 ++++---- app-arch/xz-utils/xz-utils-9999.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-)