Saturday, October 30, 2021

Re: sqlports on riscv64 (was: Re: CVS: cvs.openbsd.org: ports)

I think the most reasonable solution is this:

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
# 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

No comments:

Post a Comment