From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 886151382C5 for ; Fri, 30 Apr 2021 20:56:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF6EEE0830; Fri, 30 Apr 2021 20:56:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F991E0830 for ; Fri, 30 Apr 2021 20:56:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B52E6340A7B for ; Fri, 30 Apr 2021 20:56:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52C024C3 for ; Fri, 30 Apr 2021 20:56:47 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1619816185.5dd356ea48b792c0578217ccd754004f616ebc53.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/libbpg/libbpg-0.9.8.ebuild X-VCS-Directories: media-libs/libbpg/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 5dd356ea48b792c0578217ccd754004f616ebc53 X-VCS-Branch: dev Date: Fri, 30 Apr 2021 20:56:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 59e09b65-af08-48e1-86dc-98520215ff1c X-Archives-Hash: ca273931a6d4fbd6f51a5075bbe643c0 commit: 5dd356ea48b792c0578217ccd754004f616ebc53 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Apr 30 20:33:55 2021 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Fri Apr 30 20:56:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dd356ea media-libs/libbpg: Add missing dependencies. libnuma support is optional. If sys-process/numactl is installed, it will be used, if not, not. The check for libnuma happens in CMake, which is called by the Makefile. But the Makefile also needs to know if it should link in libnuma or not. No one tells it. I chose the easy way out of this pickle, made libnuma mandatory and added `-lnuma` to LIBS. Closes: https://bugs.gentoo.org/781113 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> media-libs/libbpg/libbpg-0.9.8.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild index 1d8149d0c..265654470 100644 --- a/media-libs/libbpg/libbpg-0.9.8.ebuild +++ b/media-libs/libbpg/libbpg-0.9.8.ebuild @@ -21,7 +21,7 @@ PATCHES=( "${FILESDIR}"/${P}-add-fpic.patch ) -DEPEND="" +DEPEND="sys-process/numactl" RDEPEND="${DEPEND}" BDEPEND=" media-video/ffmpeg @@ -29,6 +29,7 @@ BDEPEND=" virtual/jpeg bpgview? ( media-libs/sdl-image ) bpgview? ( media-libs/libsdl ) + dev-lang/yasm " src_prepare() { @@ -55,7 +56,8 @@ src_compile() { $(usex jctvc USE_JCTVC=y '') \ $(usex emcc USE_EMCC=y '') \ CXX="$(tc-getCXX)" \ - CC="$(tc-getCC)" + CC="$(tc-getCC)" \ + LIBS="-lrt -lm -lpthread -lnuma" } src_install() {