sparc64 support in ports is already undermaintained, no need to complicate it. libEGL doesn't link against LLVM even if it's available and builds fine without: - https://ptpb.pw/Aupd (Mesa 18.1.9) - https://ptpb.pw/79xv (Mesa 18.2.3)
Created attachment 198676 [details] v0
Can someone try to build on sparc64 the port with v0 patch applied?
Created attachment 198678 [details] v0 Oops, forgot about libepoxy.
I built mesa-libs and libepoxy with 11.2 on Ultra30. There was no problem. The patch and log are as attached. Should I provide something else?
Created attachment 198903 [details] ultra30_build.log
Created attachment 198904 [details] mesa-libs_Makefile.diff
Created attachment 198905 [details] mesa-libs_pkg-plist.diff
Created attachment 198906 [details] libepoxy_Makefile.diff
Created attachment 198907 [details] libepoxy_pkg-plist.diff
A commit references this bug: Author: zeising Date: Thu Nov 8 20:31:09 UTC 2018 New revision: 484475 URL: https://svnweb.freebsd.org/changeset/ports/484475 Log: Enable libEGL for all platforms Enable libEGL build for all platforms, even those without llvm. Previously it was disabled on those platforms. This has been tested on sparc64. Remove the EGL option completely. PR: 232729 Submitted by: jbeich Tested by: Yoshihiko Iwama (sparc64 support) Changes: head/graphics/libepoxy/Makefile head/graphics/libepoxy/pkg-plist head/graphics/mesa-libs/Makefile head/graphics/mesa-libs/pkg-plist
Committed, thanks!