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 868221382C5 for ; Fri, 30 Apr 2021 21:24:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D01D7E086F; Fri, 30 Apr 2021 21:24:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B391DE086F for ; Fri, 30 Apr 2021 21:24:37 +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 EE3C2340D7B for ; Fri, 30 Apr 2021 21:24:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1CE0A4C3 for ; Fri, 30 Apr 2021 21:24:34 +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: <1619817578.df1e257df34f747a64701354a4e33d9fc35e56b2.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: df1e257df34f747a64701354a4e33d9fc35e56b2 X-VCS-Branch: dev Date: Fri, 30 Apr 2021 21:24:34 +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: a0e03d1b-34a7-48cf-9fba-cfd71754d25f X-Archives-Hash: facc8fc7e8320457cb0bd81882578b80 commit: df1e257df34f747a64701354a4e33d9fc35e56b2 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Apr 30 21:18:30 2021 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Fri Apr 30 21:19:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df1e257d media-libs/libbpg: Add -lnuma to X265_LIBS instead of to LIBS. X265_LIBS is only used in bpgenc binary, LIBS in bpgenc bpgdec and bpgview. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> media-libs/libbpg/libbpg-0.9.8.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild index 265654470..07640fa3d 100644 --- a/media-libs/libbpg/libbpg-0.9.8.ebuild +++ b/media-libs/libbpg/libbpg-0.9.8.ebuild @@ -47,6 +47,8 @@ Version: ${PV} Libs: "-L\${libdir}" -lbpg Cflags: "-I\${includedir}" EOF + + sed -Ei 's/^(X265_LIBS:=.+\.a)$/\1 -lnuma/' Makefile || die } src_compile() { @@ -56,8 +58,7 @@ src_compile() { $(usex jctvc USE_JCTVC=y '') \ $(usex emcc USE_EMCC=y '') \ CXX="$(tc-getCXX)" \ - CC="$(tc-getCC)" \ - LIBS="-lrt -lm -lpthread -lnuma" + CC="$(tc-getCC)" } src_install() {