Skip to content

Commit

Permalink
databases/mongodb44: style
Browse files Browse the repository at this point in the history
pet portlint and portclippy by reordering some fields
fix typo in pkg-message
  • Loading branch information
Ronald Klop authored and Ronald Klop committed Jul 30, 2023
1 parent d3ddc6b commit 399e71e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions databases/mongodb44/Makefile
Expand Up @@ -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 \
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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
}
Expand Down

0 comments on commit 399e71e

Please sign in to comment.