From owner-svn-ports-head@freebsd.org Wed Jul 10 01:16:16 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F29E15EAC5C; Wed, 10 Jul 2019 01:16:16 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD2538FCA9; Wed, 10 Jul 2019 01:16:15 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 17F567ECF; Wed, 10 Jul 2019 01:16:14 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6A1GDYK002775; Wed, 10 Jul 2019 01:16:13 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6A1GDuA002773; Wed, 10 Jul 2019 01:16:13 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201907100116.x6A1GDuA002773@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 10 Jul 2019 01:16:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506329 - head/multimedia/libva X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/multimedia/libva X-SVN-Commit-Revision: 506329 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DD2538FCA9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.94)[-0.944,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2019 01:16:16 -0000 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