From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1246664-garchives=archives.gentoo.org@lists.gentoo.org> 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 51BFC13835B for <garchives@archives.gentoo.org>; Sat, 30 Jan 2021 05:24:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33100E0AE0; Sat, 30 Jan 2021 05:24:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 DA85BE0AD5 for <gentoo-commits@lists.gentoo.org>; Sat, 30 Jan 2021 05:24:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 09C0E340F89 for <gentoo-commits@lists.gentoo.org>; Sat, 30 Jan 2021 05:24:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33C4E4C for <gentoo-commits@lists.gentoo.org>; Sat, 30 Jan 2021 05:24:48 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1611983779.7e8223ef7dcb6ad38c5fe5f8505e0e36ac75c56d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtommath/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libtommath/libtommath-1.2.0.ebuild X-VCS-Directories: dev-libs/libtommath/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7e8223ef7dcb6ad38c5fe5f8505e0e36ac75c56d X-VCS-Branch: master Date: Sat, 30 Jan 2021 05:24:48 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2afaac5a-633b-4936-ac03-77f178d44dde X-Archives-Hash: 2e4faa37909fb9046096c4c6bbb0527d commit: 7e8223ef7dcb6ad38c5fe5f8505e0e36ac75c56d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jan 30 05:16:19 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 30 05:16:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e8223ef dev-libs/libtommath: fix Darwin install Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/libtommath/libtommath-1.2.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-libs/libtommath/libtommath-1.2.0.ebuild b/dev-libs/libtommath/libtommath-1.2.0.ebuild index 78def9854c3..56b357a3505 100644 --- a/dev-libs/libtommath/libtommath-1.2.0.ebuild +++ b/dev-libs/libtommath/libtommath-1.2.0.ebuild @@ -65,6 +65,11 @@ src_test() { src_install() { _emake -f makefile.shared install + if [[ ${CHOST} == *-darwin* ]] ; then + local path="usr/$(get_libdir)/libtommath.${PV}.dylib" + install_name_tool -id "${EPREFIX}/${path}" "${ED}/${path}" || die "Failed to adjust install_name" + fi + # We only link against -lc, so drop the .la file. find "${ED}" -name '*.la' -delete || die if ! use static-libs ; then