svn commit: r506329 - head/multimedia/libva
Jan Beich
jbeich at FreeBSD.org
Wed Jul 10 01:16:16 UTC 2019
Author: jbeich
Date: Wed Jul 10 01:16:13 2019
New Revision: 506329
URL: https://svnweb.freebsd.org/changeset/ports/506329
Log:
multimedia/libva: drop -lpthread on FreeBSD 11.4/12.1/13.0
libva doesn't use threads unless LIBVA_TRACE is passed via environment.
PR: 238650
Modified:
head/multimedia/libva/Makefile (contents, props changed)
Modified: head/multimedia/libva/Makefile
==============================================================================
--- head/multimedia/libva/Makefile Wed Jul 10 01:16:04 2019 (r506328)
+++ head/multimedia/libva/Makefile Wed Jul 10 01:16:13 2019 (r506329)
@@ -19,7 +19,11 @@ USES= meson pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= intel
-LDFLAGS+= -lpthread # for pthread_getthreadid_np
+# -lpthread is not necessary if pthread_getthreadid_np is a libc stub
+LDFLAGS+= ${LDFLAGS_${OPSYS}_${OSREL}}
+LDFLAGS_FreeBSD_11.2= -lpthread
+LDFLAGS_FreeBSD_11.3= -lpthread
+LDFLAGS_FreeBSD_12.0= -lpthread
OPTIONS_DEFINE= GLX WAYLAND X11
OPTIONS_DEFAULT=GLX WAYLAND X11
More information about the svn-ports-all
mailing list