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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D318D15808B for ; Fri, 18 Feb 2022 03:07:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1D1A2BC014; Fri, 18 Feb 2022 03:07:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BF7F2BC014 for ; Fri, 18 Feb 2022 03:07:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2165343368 for ; Fri, 18 Feb 2022 03:07:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B730F30C for ; Fri, 18 Feb 2022 03:07:00 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1645153553.01f352b1649fc560c6cea09b91e72e56b49f6f68.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/flann/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/flann/flann-1.9.1-r5.ebuild X-VCS-Directories: sci-libs/flann/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 01f352b1649fc560c6cea09b91e72e56b49f6f68 X-VCS-Branch: master Date: Fri, 18 Feb 2022 03:07:00 +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: 0e88aeb4-9758-49c6-853d-2e4df6bf2fd5 X-Archives-Hash: 1725bf1ecdf44e72c89e22bdaa8e746a commit: 01f352b1649fc560c6cea09b91e72e56b49f6f68 Author: Alexander Golubev gmail com> AuthorDate: Wed Feb 16 22:13:25 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 18 03:05:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f352b1 sci-libs/flann: fix RUNPATH with MPI Bug: https://bugs.gentoo.org/795828 Signed-off-by: Alexander Golubev gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24221 Signed-off-by: Sam James gentoo.org> sci-libs/flann/flann-1.9.1-r5.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sci-libs/flann/flann-1.9.1-r5.ebuild b/sci-libs/flann/flann-1.9.1-r5.ebuild index 716c7a4fec72..788c2733be10 100644 --- a/sci-libs/flann/flann-1.9.1-r5.ebuild +++ b/sci-libs/flann/flann-1.9.1-r5.ebuild @@ -17,6 +17,7 @@ IUSE="cuda doc examples mpi octave openmp" BDEPEND=" app-arch/unzip doc? ( dev-tex/latex2html ) + mpi? ( app-admin/chrpath ) " DEPEND=" app-arch/lz4:= @@ -85,4 +86,9 @@ src_configure() { src_install() { cmake_src_install find "${D}" -name 'lib*.a' -delete || die + + # bug 795828; mpicc volunterely adds some runpaths + if use mpi; then + chrpath -d "${ED}"/usr/bin/flann_mpi_{client,server} || die + fi }