On Sat, Oct 30 2021, Marc Espie <espie@nerim.net> wrote:
> I think the most reasonable solution is this:
I have checked that this does the right thing on riscv64
with lang/compcert and lang/freebasic reverted to their previous
version. This looks like the most practical solution even though...
a bit hackish maybe? Sadly lang/gcc/${MODGCC4_VERSION} kinda calls for
it. Please do what you think is best!
> Index: gcc4.port.mk
> ===================================================================
> RCS file: /cvs/ports/infrastructure/mk/gcc4.port.mk,v
> retrieving revision 1.14
> diff -u -p -r1.14 gcc4.port.mk
> --- gcc4.port.mk 27 Apr 2019 21:26:35 -0000 1.14
> +++ gcc4.port.mk 30 Oct 2021 16:08:34 -0000
> @@ -1,2 +1 @@
> -MODGCC4_VERSION?=8
> .include "${PORTSDIR}/lang/gcc/${MODGCC4_VERSION}/gcc4.port.mk"
> Index: arch-defines.mk
> ===================================================================
> RCS file: /cvs/ports/infrastructure/mk/arch-defines.mk,v
> retrieving revision 1.85
> diff -u -p -r1.85 arch-defines.mk
> --- arch-defines.mk 21 Aug 2021 03:25:05 -0000 1.85
> +++ arch-defines.mk 30 Oct 2021 16:08:34 -0000
> @@ -40,6 +40,10 @@ LLVM_ARCHS = aarch64 amd64 arm i386 mips
> # arches where ports-gcc >4.9 exists. To be used again for modules
> GCC49_ARCHS = aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 sparc64
>
> +# XXX put this here instead of gcc4.port.mk to simplify COMPILER handling
> +# in case we would require the gcc module but don't have it. This keeps
> +# the depends variables happy in NOT_FOR_ARCHS- ports
> +MODGCC4_VERSION?=8
If you commit this, would you mind adding a newline here?
> # arches where there is a C++11 compiler, either clang in base or ports-gcc
> CXX11_ARCHS = ${CLANG_ARCHS} ${GCC49_ARCHS}
> DEBUGINFO_ARCHS = aarch64 amd64
>
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
No comments:
Post a Comment