mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
databases/mongodb32: use clang from base in 11-CURRENT
Clang has been upgrade to 3.8 in 11-CURRENT, so use it. PR: 208276 Submitted by: Eric Camachat <eric@camachat.org> Approved by: brendan+freebsd@bbqsrc.net (maintainer)
This commit is contained in:
parent
8537aa9525
commit
7c2a66b45c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415310
@ -17,18 +17,11 @@ COMMENT= Distributed document-oriented "NoSQL" database
|
||||
LICENSE= AGPLv3 APACHE20
|
||||
LICENSE_COMB= multi
|
||||
|
||||
# Bugs when compiled with < Clang 3.7
|
||||
# - https://jira.mongodb.org/browse/SERVER-21217
|
||||
# - https://jira.mongodb.org/browse/SERVER-22740
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/clang37:lang/clang37
|
||||
LIB_DEPENDS= libpcre.so:devel/pcre \
|
||||
libsnappy.so:archivers/snappy
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \
|
||||
${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo
|
||||
|
||||
CPP= ${LOCALBASE}/bin/clang-cpp37
|
||||
CC= ${LOCALBASE}/bin/clang37
|
||||
CXX= ${LOCALBASE}/bin/clang++37
|
||||
CHOSEN_COMPILER_TYPE= clang
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
@ -41,10 +34,10 @@ OPTIONS_DEFAULT= SASL SSL
|
||||
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
||||
SASL_MAKE_ARGS= --use-sasl-client
|
||||
|
||||
SSL_USE= openssl=yes
|
||||
SSL_USE= yes
|
||||
SSL_MAKE_ARGS= --ssl
|
||||
|
||||
USES= cpe execinfo python:build scons
|
||||
USES= compiler cpe execinfo python:build scons
|
||||
|
||||
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \
|
||||
--use-system-pcre --use-system-snappy \
|
||||
@ -64,6 +57,15 @@ TEST_TARGET= unittests
|
||||
# Cannot be built
|
||||
IGNORE= unsupported on FreeBSD 10.1 or older
|
||||
.endif
|
||||
# Bugs when compiled with < Clang 3.7
|
||||
# - https://jira.mongodb.org/browse/SERVER-21217
|
||||
# - https://jira.mongodb.org/browse/SERVER-22740
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 37
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang37:${PORTSDIR}/lang/clang37
|
||||
CPP= ${LOCALBASE}/bin/clang-cpp37
|
||||
CC= ${LOCALBASE}/bin/clang37
|
||||
CXX= ${LOCALBASE}/bin/clang++37
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.for f in mongo mongod mongoperf mongos mongosniff
|
||||
|
Loading…
Reference in New Issue
Block a user