summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2023-03-06 20:27:02 +0100
committerAdriaan de Groot <adridg@FreeBSD.org>2023-03-06 22:34:18 +0100
commitabfb459e089f5405e39ffc3f5c5ae7c03bc07779 (patch)
tree189770969d781322c89d1839077825a9f50a97f9 /net-im
parentwww/firefox-esr: update to 102.9.0 (rc1) (diff)
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
Diffstat (limited to 'net-im')
-rw-r--r--net-im/libquotient/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-im/libquotient/Makefile b/net-im/libquotient/Makefile
index 8df660b3e52b..819875219e8b 100644
--- a/net-im/libquotient/Makefile
+++ b/net-im/libquotient/Makefile
@@ -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>