git: c8877d2477f9 - main - databases/mongodb80: add flavor for RPI-compatible version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Mar 2025 17:44:20 UTC
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=c8877d2477f97f39282254327f5a7ca1f5221c12 commit c8877d2477f97f39282254327f5a7ca1f5221c12 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2025-03-11 17:39:24 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2025-03-11 17:42:45 +0000 databases/mongodb80: add flavor for RPI-compatible version Similar to commit 5ceff01406677 for mongodb70. No revision bump as the default flavor does not change. --- UPDATING | 7 +++++++ databases/mongodb80/Makefile | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/UPDATING b/UPDATING index c13ed08fae77..405840494bad 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,13 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20250311: + AFFECTS: users of databases/mongodb80 + AUTHOR: ronald@FreeBSD.org + + Added flavor mongodb80-armv80a. + See item 20250217 for the rationale. + 20250310: AFFECTS: users of www/wget2 AUTHOR: michaelo@FreeBSD.org diff --git a/databases/mongodb80/Makefile b/databases/mongodb80/Makefile index fda8c40cb474..3aea12839937 100644 --- a/databases/mongodb80/Makefile +++ b/databases/mongodb80/Makefile @@ -43,6 +43,9 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libyaml-cpp.so:devel/yaml-cpp \ libzstd.so:archivers/zstd +FLAVORS= default armv80a +armv80a_PKGNAMESUFFIX= ${DISTVERSION:R:S/.//}-armv80a + USES= compiler:c++20-lang cpe python:build scons shebangfix ssl # gmake is used while running ${WRKSRC}/src/third_party/mozjs/gen-config.sh USES+= gmake pkgconfig @@ -95,6 +98,9 @@ GROUPS= mongodb OPTIONS_DEFINE= LTO NOAVX SASL OPTIONS_DEFINE_aarch64= ARMV80A OPTIONS_DEFAULT= NOAVX SASL +.if ${FLAVOR:U} == armv80a +OPTIONS_SET+= ARMV80A +.endif # MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream. # Can give corruption on high concurrency. @@ -115,6 +121,10 @@ SASL_MAKE_ARGS= --use-sasl-client .include <bsd.port.pre.mk> +.if ${FLAVOR:U} == armv80a && ${ARCH} != aarch64 +IGNORE= flavor armv80a is only valid on aarch64 +.endif + ALL_TARGET= install-servers # This ports is only following the Major Release.