multimedia/rtmpdump: Use gnutls instead of openssl.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2018-05-10 11:50:27 +02:00 committed by Robby Workman
parent 4f36b427f0
commit 714e47cc27
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for rtmpdump
# Copyright 2013-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -74,6 +74,12 @@ find -L . \
# patch makefiles for shared library install
patch -p1 < $CWD/librtmp-makefile.patch
# use gnutls instead of openssl
sed -i \
-e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' \
-e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' \
Makefile librtmp/Makefile
XCFLAGS="$SLKCFLAGS" \
make \
prefix=/usr \