Date: Wed, 13 Apr 2016 14:06:24 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413208 - head/databases/mongodb32 Message-ID: <201604131406.u3DE6Oec064298@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Apr 13 14:06:24 2016 New Revision: 413208 URL: https://svnweb.freebsd.org/changeset/ports/413208 Log: - Extend IGNORE condition from "< 10.0" to "< 10.2": this doesn't build on 10.1 either: /usr/include/c++/v1/type_traits:433:76: error: no matching function for call to '__source' : public integral_constant<bool, sizeof(__is_function_imp::__test<_Tp>(__is_function_imp::__source<_Tp>())) == 1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... src/mongo/db/catalog/database.cpp:618:32: note: while substituting deduced template arguments into function template 'function' [with _Fp = std::__1::__bind<mongo::Status (mongo::StorageEngine::Factory::*)(const mongo::BSONObj &) const, std::__1::placeholders::__ph<1> &, std::__1::placeholders::__ph<2> &>] stdx::bind(&StorageEngine::Factory::validateCollectionStorageOptions, ^ /usr/include/c++/v1/type_traits:424:28: note: candidate template ignored: substitution failure [with _Tp = mongo::Status (const mongo::BSONObj &) const]: reference to function type 'mongo::Status (const mongo::BSONObj &) const' cannot have 'const' qualifier template <class _Tp> _Tp& __source(); ~~~ ^ src/mongo/db/catalog/database.cpp:617:9: error: no matching function for call to 'validateStorageOptions' validateStorageOptions(collectionOptions.storageEngine, ^~~~~~~~~~~~~~~~~~~~~~ - While here, check OPSYS along with OSVERSION Reported by: pkg-fallout Approved by: portmgr blanket Modified: head/databases/mongodb32/Makefile Modified: head/databases/mongodb32/Makefile ============================================================================== --- head/databases/mongodb32/Makefile Wed Apr 13 12:52:02 2016 (r413207) +++ head/databases/mongodb32/Makefile Wed Apr 13 14:06:24 2016 (r413208) @@ -60,9 +60,9 @@ TEST_TARGET= unittests .include <bsd.port.pre.mk> -.if ${OSVERSION} < 1000000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 # Cannot be built -IGNORE= unsupported on FreeBSD 9 or older +IGNORE= unsupported on FreeBSD 10.1 or older .endif post-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604131406.u3DE6Oec064298>