From d35ef12fd057dc2ffa824e75273a3853d4a463ee Mon Sep 17 00:00:00 2001 From: Sergey Kiselev Date: Thu, 28 Sep 2023 09:53:09 +0500 Subject: [PATCH] Version 4.9.3, revision 1 --- net-im/telegram-desktop/Makefile | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index aead62b..3cc0c02 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,6 +1,6 @@ PORTNAME= telegram-desktop -DISTVERSION= 4.8.4 -PORTREVISION= 4 +DISTVERSION= 4.9.3 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full @@ -14,8 +14,8 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= does not build, webrtc related -BROKEN_SSL= openssl30 openssl31 -BROKEN_SSL_REASON= undefined symbol: ERR_load_BIO_strings +BROKEN_SSL= openssl30 openssl31 +BROKEN_SSL_REASON= undefined symbol: ERR_load_BIO_strings NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe NOT_FOR_ARCHS_REASON= Only little endian is supported @@ -52,9 +52,8 @@ qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} USES= cmake desktop-file-utils gl gnome jpeg localbase \ - minizip openal pkgconfig python:,build ssl xorg + minizip openal pkgconfig python:build ssl xorg -USE_CXXSTD= c++17 USE_GITHUB= nodefault GH_ACCOUNT= telegramdesktop GH_PROJECT= tdesktop @@ -107,14 +106,10 @@ TELEGRAM_API_ID= 601761 .include -.if ${OSVERSION} > 1400000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079 USES+= llvm:build -CC= ${_LLVM_MK_PREFIX}/bin/clang -CPP= ${_LLVM_MK_PREFIX}/bin/clang-cpp -CXX= ${_LLVM_MK_PREFIX}/bin/clang++ -#LD?= ${_LLVM_MK_PREFIX}/bin/ld .else -USES+= compiler:c++17-lang +USES+= compiler:c++20-lang .endif post-patch: