aboutsummaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-09-05 16:14:38 +0000
committerSteve Wills <swills@FreeBSD.org>2018-09-05 16:14:38 +0000
commit6b52b43be5ea335dffc773980c4d88ad0df7b9a1 (patch)
tree4660558bfe9cfc424818d79b09cdbba21cd48df7 /net-im/telegram-desktop
parent46afeb65cbd6c821b7056a4222f0fd72e824f686 (diff)
downloadports-6b52b43be5ea335dffc773980c4d88ad0df7b9a1.tar.gz
ports-6b52b43be5ea335dffc773980c4d88ad0df7b9a1.zip
Notes
Diffstat (limited to 'net-im/telegram-desktop')
-rw-r--r--net-im/telegram-desktop/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 13bcc17ad05e..c4b5d4f365c2 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -64,6 +64,15 @@ GYP_DEFINES:= ${GYP_DEFINES},TDESKTOP_DISABLE_GTK_INTEGRATION
.include <bsd.port.pre.mk>
+
+# This port needs C++17 libs/compiler.
+# Currently, this is not supported by USES=compiler
+# Using clang does not work: libc++ in base does not support C++17.
+# Using gcc does not work: using both libc++ and libstdc++ causes crashes.
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
+BROKEN= Need C++17 support in compiler and runtime
+.endif
+
# Since 1.3.14, the clang compiler provided in 11.1 (4.0.0) gets a segmentation
# fault.
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1102000