On 2022/06/12 10:18, Omar Polo wrote: > one thing that I don't understand is that AFAICS sparc64 is a llvm arch, > so why it's using (ports) gcc to build this?
LLVM is built in base on sparc64, but it isn't used as the standard system compiler. "base-clang" in the COMPILER command only applies to archs where clang is used as the system compiler (see arch-defines.mk for a list). > the way to do it is to have a PSEUDO_FLAVOR no_ruby to disable the build > of the -ruby subpackage, and automatically enable it on the architectures > where you don't want to build it. > > In this case you already have the PSEUDO_FLAVORs to disable the various > subpackages, so all you need to do is something along the lines of > > .if ${MACHINE_ARCH} == "sparc64" > FLAVOR += no_ruby > .endif yes, that's the way.