1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

databases/mongodb44: Fix crash on aarch64

- Disable LTO on aarch64/14-current (clang12 is crashing)
  - Limit the portscout check to 4.4.x

PR:		257765
This commit is contained in:
Ronald Klop 2021-08-27 14:23:53 +02:00 committed by Mikael Urankar
parent 86cfefb4d0
commit ed95a0e174

View File

@ -10,8 +10,7 @@ DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
MAINTAINER= ronald-lists@klop.ws
COMMENT= Distributed document-oriented "NoSQL" database (4.4.x Branch)
# mongodb is SSPLv1, C++ driver is APACHE20
LICENSE= SSPLv1 APACHE20
LICENSE= SSPLv1 APACHE20 # mongodb is SSPLv1, C++ driver is APACHE20
LICENSE_COMB= multi
LICENSE_NAME_SSPLv1= Server Side Public License Version 1
LICENSE_FILE_SSPLv1= ${WRKSRC}/LICENSE-Community.txt
@ -31,10 +30,14 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
USES= compiler:c++17-lang cpe python:3.5+,build scons
USE_RC_SUBR= mongod
PORTSCOUT= limit:^4\.4\.
CONFLICTS_INSTALL= mongodb36 mongodb4[02]
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 \