From owner-svn-ports-head@freebsd.org Mon May 16 06:34:34 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 014B7B3D4C9; Mon, 16 May 2016 06:34:34 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA1551B1C; Mon, 16 May 2016 06:34:33 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4G6YW62063548; Mon, 16 May 2016 06:34:32 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4G6YWl0063547; Mon, 16 May 2016 06:34:32 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201605160634.u4G6YWl0063547@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 16 May 2016 06:34:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415310 - head/databases/mongodb32 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 06:34:34 -0000 Author: pi Date: Mon May 16 06:34:32 2016 New Revision: 415310 URL: https://svnweb.freebsd.org/changeset/ports/415310 Log: 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 Approved by: brendan+freebsd@bbqsrc.net (maintainer) Modified: head/databases/mongodb32/Makefile Modified: head/databases/mongodb32/Makefile ============================================================================== --- head/databases/mongodb32/Makefile Mon May 16 06:22:23 2016 (r415309) +++ head/databases/mongodb32/Makefile Mon May 16 06:34:32 2016 (r415310) @@ -17,18 +17,11 @@ COMMENT= Distributed document-oriented " 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