From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1384252-garchives=archives.gentoo.org@lists.gentoo.org> 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 06BF815808B for <garchives@archives.gentoo.org>; Sun, 10 Apr 2022 10:40:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E12D7E091F; Sun, 10 Apr 2022 10:40:24 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 945CCE091F for <gentoo-commits@lists.gentoo.org>; Sun, 10 Apr 2022 10:40:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F9FF340FAC for <gentoo-commits@lists.gentoo.org>; Sun, 10 Apr 2022 10:40:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE3F91BD for <gentoo-commits@lists.gentoo.org>; Sun, 10 Apr 2022 10:40:21 +0000 (UTC) From: "Fabian Groffen" <grobian@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, "Fabian Groffen" <grobian@gentoo.org> Message-ID: <1649587207.ace109502422577c5c773346a9753566a52ad721.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/binutils-libs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/binutils-libs/binutils-libs-2.38-r1.ebuild X-VCS-Directories: sys-libs/binutils-libs/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: ace109502422577c5c773346a9753566a52ad721 X-VCS-Branch: master Date: Sun, 10 Apr 2022 10:40:21 +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: 1efe528a-2fc8-4424-a3fc-9e674f88da8f X-Archives-Hash: 8df24e51d2ea30b1419e4afc7e721753 commit: ace109502422577c5c773346a9753566a52ad721 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sun Apr 10 10:40:07 2022 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sun Apr 10 10:40:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace10950 sys-libs/binutils-libs-2.38-r1: fix compilation on Darwin Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> sys-libs/binutils-libs/binutils-libs-2.38-r1.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys-libs/binutils-libs/binutils-libs-2.38-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.38-r1.ebuild index 00524e029d8b..e4d12985ba3a 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.38-r1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.38-r1.ebuild @@ -46,6 +46,15 @@ src_prepare() { # Fix cross-compile relinking issue, bug #626402 elibtoolize + if [[ ${CHOST} == *-darwin* ]] ; then + # somehow libtool/configure is messed up and (custom patch at + # upstream?) and misdetects (basically assumes) nm can be called + # with -B arg -- can't run eautoreconf (fails), so patch up + # manually, this would break any target that needs -B to nm + sed -i -e 's/lt_cv_path_NM="$tmp_nm -B"/lt_cv_path_NM="$tmp_nm"/' \ + libctf/configure || die + fi + default }