git: 399e71ec6ec4 - main - databases/mongodb44: style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Jul 2023 20:57:26 UTC
The branch main has been updated by ronald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=399e71ec6ec4e7c7d2a17f11943a42eb5f712b43
commit 399e71ec6ec4e7c7d2a17f11943a42eb5f712b43
Author: Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2023-07-30 20:12:23 +0000
Commit: Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2023-07-30 20:57:07 +0000
databases/mongodb44: style
pet portlint and portclippy by reordering some fields
fix typo in pkg-message
---
databases/mongodb44/Makefile | 24 ++++++++++++------------
databases/mongodb44/pkg-message | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/databases/mongodb44/Makefile b/databases/mongodb44/Makefile
index 2f4ff51441af..10465fc1b720 100644
--- a/databases/mongodb44/Makefile
+++ b/databases/mongodb44/Makefile
@@ -30,17 +30,6 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
USES= compiler:c++17-lang cpe python:build scons
USE_RC_SUBR= mongod
-CFLAGS+= -D_HAS_AUTO_PTR_ETC=0
-
-PORTSCOUT= limit:^4\.4\.
-
-CONFLICTS_INSTALL= mongodb[0-9][0-9] # etc/mongodb.conf.sample
-
-OPTIONS_DEFINE= LTO SASL SSL
-OPTIONS_DEFAULT=LTO SASL SSL
-OPTIONS_EXCLUDE_aarch64= ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
-OPTIONS_EXCLUDE_aarch64_14= LTO # Does not work with llvm12 on aarch64.
-
MAKE_ARGS= --use-system-zlib \
--use-system-pcre \
--use-system-snappy \
@@ -52,9 +41,20 @@ MAKE_ARGS= --use-system-zlib \
VERBOSE=on \
AR=llvm-ar
+CFLAGS+= -D_HAS_AUTO_PTR_ETC=0
+
+CONFLICTS_INSTALL= mongodb[0-9][0-9] # etc/mongodb.conf.sample
+
+PORTSCOUT= limit:^4\.4\.
+
USERS= mongodb
GROUPS= mongodb
+OPTIONS_DEFINE= LTO SASL SSL
+OPTIONS_DEFAULT= LTO SASL SSL
+OPTIONS_EXCLUDE_aarch64= ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
+OPTIONS_EXCLUDE_aarch64_14= LTO # Does not work with llvm12 on aarch64.
+
LTO_MAKE_ARGS= --lto=on
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
@@ -66,7 +66,7 @@ SSL_MAKE_ARGS= --ssl
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 || ${ARCH} == powerpc64le
-EXTRA_PATCHES= ${FILESDIR}/${ARCH}
+EXTRA_PATCHES+= ${FILESDIR}/${ARCH}
.endif
ALL_TARGET= install-core
diff --git a/databases/mongodb44/pkg-message b/databases/mongodb44/pkg-message
index 43e45ca6a35a..e0a343760e63 100644
--- a/databases/mongodb44/pkg-message
+++ b/databases/mongodb44/pkg-message
@@ -1,7 +1,7 @@
[
{ type: install
message: <<EOM
-MongoDB on Rasperry Pi can work but is unsupported upstream.
+MongoDB on Raspberry Pi can work but is unsupported upstream.
Please read https://jira.mongodb.org/browse/SERVER-71772 if you run this on a non-LSE ARM cpu.
EOM
}