Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2019 06:31:04 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501689 - head/net/mediastreamer
Message-ID:  <201905150631.x4F6V4ou091058@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed May 15 06:31:04 2019
New Revision: 501689
URL: https://svnweb.freebsd.org/changeset/ports/501689

Log:
  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

Modified:
  head/net/mediastreamer/Makefile

Modified: head/net/mediastreamer/Makefile
==============================================================================
--- head/net/mediastreamer/Makefile	Wed May 15 06:29:37 2019	(r501688)
+++ head/net/mediastreamer/Makefile	Wed May 15 06:31:04 2019	(r501689)
@@ -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
 		-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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905150631.x4F6V4ou091058>