From 19f5c657882c011af46ccff58af0fa0c2e2d0fa2 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Wed, 15 May 2019 06:31:04 +0000 Subject: [PATCH] net/mediastreamer: Explicitly link with libthr after base r345349 This should unbreak the build of net/liblinphone. ld: error: /usr/local/lib/libmediastreamer_base.so.10: undefined reference to pthread_setschedparam http://beefy12.nyi.freebsd.org/data/head-amd64-default/p501607_s347555/logs/errors/liblinphone-3.12.0_1.log --- net/mediastreamer/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/mediastreamer/Makefile b/net/mediastreamer/Makefile index 7465e9d1bd21..f3a2f2141fd4 100644 --- a/net/mediastreamer/Makefile +++ b/net/mediastreamer/Makefile @@ -3,7 +3,7 @@ PORTNAME= mediastreamer PORTVERSION= 2.16.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= https://www.linphone.org/releases/sources/mediastreamer/ @@ -26,6 +26,7 @@ CMAKE_ARGS= -DENABLE_ALSA=NO -DENABLE_BV16=NO -DENABLE_DOC=NO \ -DENABLE_JPEG=NO -DENABLE_OSS=YES -DENABLE_PULSEAUDIO=NO \ -DENABLE_STATIC=NO -DENABLE_STRICT=NO -DENABLE_TOOLS=NO \ -DENABLE_UNIT_TESTS=NO +LDFLAGS+= -pthread OPTIONS_DEFINE= MATROSKA VIDEO OPTIONS_GROUP= AUDIOOPT VIDEOOPT