1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- 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
This commit is contained in:
Dmitry Marakasov 2016-04-13 14:06:24 +00:00
parent a8acc4c9e5
commit 1a883c50b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413208

View File

@ -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: