Date: Sat, 27 Feb 2016 14:18:16 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409668 - head/databases/mongodb32 Message-ID: <201602271418.u1REIGZe014199@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sat Feb 27 14:18:16 2016 New Revision: 409668 URL: https://svnweb.freebsd.org/changeset/ports/409668 Log: databases/mongodb32: Update to 3.2.3 - Update PORTVERSION and distinfo checksum (3.2.3) [1] - Depend explicitly on Clang 3.7 - Update ONLY_FOR_ARCHS{_REASON} to exclude i386 Removes i386 support entirely, as even now I get pkg-fallout due to mozjs failing to build in some circumstances, and the maintenance burden isn't worth it given 32bit is deprecated. A future revision may conditionally check the existence of a global clang that meets the requirements of this port, but right now that requires fixing some issues in compiler.mk and I don't feel it appropriate to replicate its entire functionality to fix this port for now. PR: 207417 Reported by: <numisemis yahoo.com> [1] Submitted by: Brendan Molloy <brendan+freebsd bbqsrc net> (maintainer) Modified: head/databases/mongodb32/Makefile head/databases/mongodb32/distinfo Modified: head/databases/mongodb32/Makefile ============================================================================== --- head/databases/mongodb32/Makefile Sat Feb 27 13:39:40 2016 (r409667) +++ head/databases/mongodb32/Makefile Sat Feb 27 14:18:16 2016 (r409668) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= mongodb32 -PORTVERSION= 3.2.1 +PORTVERSION= 3.2.3 DISTVERSIONPREFIX= r -PORTREVISION= 1 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ @@ -18,19 +17,25 @@ 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:${PORTSDIR}/lang/clang37 LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libsnappy.so:${PORTSDIR}/archivers/snappy TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:${PORTSDIR}/devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:${PORTSDIR}/databases/pymongo -ONLY_FOR_ARCHS= i386 amd64 -ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" +CPP= ${LOCALBASE}/bin/clang-cpp37 +CC= ${LOCALBASE}/bin/clang37 +CXX= ${LOCALBASE}/bin/clang++37 +CHOSEN_COMPILER_TYPE= clang -OPTIONS_DEFINE= SASL SSL WIREDTIGER -OPTIONS_DEFAULT= SSL WIREDTIGER +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" -# Only supported on 64-bit -OPTIONS_EXCLUDE_i386= WIREDTIGER +OPTIONS_DEFINE= SASL SSL +OPTIONS_DEFAULT= SASL SSL SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client @@ -38,14 +43,9 @@ SASL_MAKE_ARGS= --use-sasl-client SSL_USE= openssl=yes SSL_MAKE_ARGS= --ssl -WIREDTIGER_DESC= WiredTiger database engine support -WIREDTIGER_VARS= wiredtiger_build=on -WIREDTIGER_VARS_OFF= wiredtiger_build=off - USES= cpe execinfo python:build scons MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ - --wiredtiger=${WIREDTIGER_BUILD} \ --use-system-pcre --use-system-snappy \ --release @@ -59,10 +59,6 @@ TEST_TARGET= unittests .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" -WIREDTIGER_BUILD= off -.endif - .if ${OSVERSION} < 1000000 # Cannot be built IGNORE= unsupported on FreeBSD 9 or older Modified: head/databases/mongodb32/distinfo ============================================================================== --- head/databases/mongodb32/distinfo Sat Feb 27 13:39:40 2016 (r409667) +++ head/databases/mongodb32/distinfo Sat Feb 27 14:18:16 2016 (r409668) @@ -1,2 +1,2 @@ -SHA256 (mongodb-src-r3.2.1.tar.gz) = 50431a3ba5ab68bd0bed4a157a8528ca27753a63cf101f13135255e4e9d42f15 -SIZE (mongodb-src-r3.2.1.tar.gz) = 26397562 +SHA256 (mongodb-src-r3.2.3.tar.gz) = 82030ada190095b5d95c0b59e9cf74efe9db602b49d2b8857b06f2683a5227fa +SIZE (mongodb-src-r3.2.3.tar.gz) = 29607224
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602271418.u1REIGZe014199>