Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2022 17:06:11 +0000
From:      Colin Percival <cperciva@tarsnap.com>
To:        Ganael LAPLANCHE <martymac@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: ce378c38ec1a - main - emulators/dolphin-emu: Update to 5.0.16795
Message-ID:  <0100018202d32fc9-a65c6690-bded-414c-9193-5c07f9bef894-000000@email.amazonses.com>
In-Reply-To: <202207151008.26FA8m74011020@gitrepo.freebsd.org>
References:  <202207151008.26FA8m74011020@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0100018202d32fc9-a65c6690-bded-414c-9193-5c07f9bef894-000000>