aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2018-09-06 00:14:38 +0800
committerswills <swills@FreeBSD.org>2018-09-06 00:14:38 +0800
commit54038bc257e98db54892f610bb51dd00e0694520 (patch)
tree4660558bfe9cfc424818d79b09cdbba21cd48df7 /net-im
parent88f099a919908171132377d025bf943dc0a87049 (diff)
downloadfreebsd-ports-gnome-54038bc257e98db54892f610bb51dd00e0694520.tar.gz
freebsd-ports-gnome-54038bc257e98db54892f610bb51dd00e0694520.tar.zst
freebsd-ports-gnome-54038bc257e98db54892f610bb51dd00e0694520.zip
net-im/telegram-desktop: put back removed BROKEN line
Can build but won't run on 10.x PR: 231014 Reported by: Henry Hu <henry.hu.sh@gmail.com> (maintainer) Pointyhat to: swills
Diffstat (limited to 'net-im')
-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