1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

net-im/libquotient: try to fix build on 12.*, 13.0

This just avoids trying to build tests -- which fail with the error

/usr/include/c++/v1/__functional/perfect_forward.h:77:9: error: no
matching constructor for initialization of 'tuple<void (TestManager::*)(),
TestManager *>'

on 12.* and 13.0 and possibly 13.1 but not my local poudriere host,
which reports that it is 13-STABLE (from a month back or more). The
underlying problem seems to be tied to the LLVM / Clang STL that is
available. Patch from Eric, I tightened the bounds a bit.

Reported by:	Eric Camachat
This commit is contained in:
Adriaan de Groot 2023-03-06 20:27:02 +01:00
parent f6ef75f0d3
commit abfb459e08

View File

@ -23,4 +23,10 @@ GH_PROJECT= libQuotient
CMAKE_ARGS= -DQuotient_INSTALL_TESTS=OFF
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1301507
CMAKE_ARGS+= -DBUILD_TESTING=OFF
.endif
.include <bsd.port.post.mk>