Skip to content

Commit

Permalink
databases/mongodb44: Update to 4.4.9
Browse files Browse the repository at this point in the history
* Update CONFLICTS_INSTALL
* Enable LSE atomics on 14-CURRENT aarch64

ChangeLog:	https://docs.mongodb.com/manual/release-notes/4.4-changelog/#4.4.9-changelog
PR:		258687
Approved by:	meta (mentor)
Differential Revision:	https://reviews.freebsd.org/D32374
  • Loading branch information
Ronald Klop authored and Yasuhiro Kimura committed Oct 25, 2021
1 parent 0188031 commit b15a31e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
9 changes: 7 additions & 2 deletions databases/mongodb44/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= mongodb
DISTVERSIONPREFIX= r
DISTVERSION= 4.4.8
DISTVERSION= 4.4.9
CATEGORIES= databases net
MASTER_SITES= https://fastdl.mongodb.org/src/ \
http://fastdl.mongodb.org/src/
Expand Down Expand Up @@ -32,7 +32,7 @@ USE_RC_SUBR= mongod

PORTSCOUT= limit:^4\.4\.

CONFLICTS_INSTALL= mongodb36 mongodb4[02]
CONFLICTS_INSTALL= mongodb36 mongodb4[02] mongodb50

OPTIONS_DEFINE= LTO SASL SSL
OPTIONS_DEFAULT=LTO SASL SSL
Expand Down Expand Up @@ -63,6 +63,11 @@ SSL_MAKE_ARGS= --ssl

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ((${OSREL:R} >= 14 && ${OSVERSION} < 1400033) \
&& ${ARCH} == "aarch64")
BROKEN= Aarch64 needs LSE atomics which was fixed in https://cgit.freebsd.org/src/commit/?id=efe67f33c322265eb303ec0ab40275100795b22a
.endif

.if ${ARCH} == aarch64 || ${ARCH} == powerpc64le
EXTRA_PATCHES= ${FILESDIR}/${ARCH}
.endif
Expand Down
6 changes: 3 additions & 3 deletions databases/mongodb44/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1628281136
SHA256 (mongodb-src-r4.4.8.tar.gz) = 6f9bd6626ef61ec3cd9051ff8576bf499936de99c4fc3551f8bde4e9ba504a97
SIZE (mongodb-src-r4.4.8.tar.gz) = 50492854
TIMESTAMP = 1632143635
SHA256 (mongodb-src-r4.4.9.tar.gz) = 4eee0a2213b4c455d5bc21c78a5a6a02bf33ac09e6c6bba8d5547247307a319f
SIZE (mongodb-src-r4.4.9.tar.gz) = 50541749
10 changes: 0 additions & 10 deletions databases/mongodb44/files/patch-SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,3 @@
if not has_option("disable-warnings-as-errors"):
env.Append( CCFLAGS=["-Werror"] )

@@ -3926,7 +3926,8 @@ def doConfigure(myenv):
myenv = conf.Finish()

if env['TARGET_ARCH'] == "aarch64":
- AddToCCFLAGSIfSupported(myenv, "-moutline-atomics")
+ # https://lists.freebsd.org/archives/freebsd-ports/2021-July/000431.html
+ AddToCCFLAGSIfSupported(myenv, "-mno-outline-atomics")

conf = Configure(myenv)
usdt_enabled = get_option('enable-usdt-probes')

0 comments on commit b15a31e

Please sign in to comment.