aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorLewis Cook <lcook@FreeBSD.org>2021-03-10 14:10:24 +0000
committerLewis Cook <lcook@FreeBSD.org>2021-03-10 14:10:24 +0000
commit37558e64ae031fc00b3a60f521dbc57b26878aa2 (patch)
treed2617a13a3f9c8880107c8962f226bb156ce03ca /net-im
parent3eb0a95332d879c4fbbd724c130b9ace61f6b4d0 (diff)
downloadports-37558e64ae031fc00b3a60f521dbc57b26878aa2.tar.gz
ports-37558e64ae031fc00b3a60f521dbc57b26878aa2.zip
net-im/tg_owt: Mark port BROKEN on 11 with base OpenSSL
While here, pet both portclippy and portfmt. PR: 254150 Submitted by: Henry Hu <henry.hu.sh@gmail.com> (maintainer) Approved by: fernape (mentor) Differential Revision: https://reviews.freebsd.org/D29184
Notes
Notes: svn path=/head/; revision=568003
Diffstat (limited to 'net-im')
-rw-r--r--net-im/tg_owt/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile
index 0a21d1acb672..1b7e67f9c63d 100644
--- a/net-im/tg_owt/Makefile
+++ b/net-im/tg_owt/Makefile
@@ -17,8 +17,8 @@ BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib \
yasm:devel/yasm
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
libjpeg.so:graphics/jpeg-turbo \
- libusrsctp.so:net/libusrsctp \
- libopus.so:audio/opus
+ libopus.so:audio/opus \
+ libusrsctp.so:net/libusrsctp
USES= cmake pkgconfig
USE_GITHUB= yes
@@ -29,9 +29,15 @@ GH_TAGNAME= a198773
GH_TUPLE= webmproject:libvpx:5b63f0f:libvpx/src/third_party/libvpx/source/libvpx \
HenryHu:libyuv:ad89006:libyuv/src/third_party/libyuv
+CMAKE_OFF= BUILD_SHARED_LIBS
+
# Disable DCHECKs, otherwise video calls will crash.
CXXFLAGS+= -DNDEBUG
-CMAKE_OFF= BUILD_SHARED_LIBS
+.include <bsd.port.options.mk>
+
+.if ${SSL_DEFAULT} == "base" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085
+BROKEN= This port requires OpenSSL 1.1.0. Try DEFAULT_VERSIONS+=ssl=[openssl|libressl*]
+.endif
.include <bsd.port.mk>