Date: Wed, 10 Jul 2019 01:16:13 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506329 - head/multimedia/libva Message-ID: <201907100116.x6A1GDuA002773@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907100116.x6A1GDuA002773>