Re: git: ce378c38ec1a - main - emulators/dolphin-emu: Update to 5.0.16795
Date: Fri, 15 Jul 2022 23:33:41 UTC
Ganael Laplanche <ganael.laplanche@martymac.org> writes: > Le 15/07/2022 à 19:06, Colin Percival a écrit : > > Hello Colin, > > Thanks for your feedback. > >> Obviously the ideal solution is to update the portsnap builder... but this >> isn't a problem other ports have tripped over, so I'm wondering if >> this port is creating an unnecessary dependency when it should just >> be using the >> compiler from the base system. > > AFAIK, libLLVM-xx.so is not available in the base system. https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled > Also, when Dolphin is linked to a port-installed LLVM, poudriere is > complaining about a missing dependency: > > "Error: /usr/local/bin/dolphin-emu is linked to > /usr/local/llvm13/lib/libLLVM-13.so from devel/llvm13 but it is not > declared as a dependency" > > See full build logs here: > > http://box.martymac.org/FreeBSD-Packages/data/FBSD123i386-default/2022-07-13_07h52m45s/logs/dolphin-emu-5.0.16795.log > > That's why I have explicitly added the dependency here. Why devel/llvm* is limited to base Clang? libLLVM API is not exposed in Clang. For example, graphics/mesa-* use devel/llvm* regardless of base compiler. > >> Can anyone with knowledge of the compiler options in ports/Mk comment? > > Yes, if anyone has a workaround for that... :) Pin or derive from LLVM_DEFAULT e.g., $ git grep -l libLLVM.\*:devel/llvm audio/faust/Makefile audio/faustlive/Makefile devel/ispc/Makefile graphics/mesa-devel/Makefile graphics/seexpr/Makefile lang/crystal/Makefile misc/glow/Makefile