Re: git: ce378c38ec1a - main - emulators/dolphin-emu: Update to 5.0.16795

From: Colin Percival <cperciva_at_tarsnap.com>
Date: Fri, 15 Jul 2022 17:06:11 UTC
On 7/15/22 03:08, Ganael LAPLANCHE wrote:
>      emulators/dolphin-emu: Update to 5.0.16795
> [...]
> +.if ${CHOSEN_COMPILER_TYPE:Mclang}
> +CMAKE_ARGS+=	-DENABLE_LLVM:BOOL=ON
> +LIB_DEPENDS+=	libLLVM-${COMPILER_VERSION:C/.$//}.so:devel/llvm${COMPILER_VERSION:C/.$//}
> +.else
> +CMAKE_ARGS+=	-DENABLE_LLVM:BOOL=OFF
> +.endif

This is breaking portsnap INDEX builds due to a dependency on llvm6 showing
up.  I'm guessing this is because the INDEX builds are running with an old
(11.x IIRC) world and the ports infrastructure is trying to default to the
version of llvm it finds in the "base system"?

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.

Can anyone with knowledge of the compiler options in ports/Mk comment?

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid