mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
databases/mongodb44: Update to 4.4.9
* 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
This commit is contained in:
parent
018803104c
commit
b15a31e89a
3 changed files with 10 additions and 15 deletions
|
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue