commit: bc7db307cbae2e4fc29b2cc2d18e59e86270bf47 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sun Feb 25 10:06:55 2024 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Mon Feb 26 07:52:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7db307
dev-vcs/git-2.44.0: adapt fix for darwin to make it apply to latest code Closes: https://bugs.gentoo.org/925514 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> dev-vcs/git/git-2.44.0.ebuild | 5 ++++- dev-vcs/git/git-9999-r3.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-vcs/git/git-2.44.0.ebuild b/dev-vcs/git/git-2.44.0.ebuild index 1ca16eafce51..5a670b6ce658 100644 --- a/dev-vcs/git/git-2.44.0.ebuild +++ b/dev-vcs/git/git-2.44.0.ebuild @@ -261,7 +261,10 @@ src_prepare() { if use prefix ; then # bug #757309 - eapply "${FILESDIR}"/git-2.37.2-darwin-prefix-gettext.patch + sed -i \ + -e 's:/usr/local/opt/gettext/:/do/not/look/elsewhere/:g' \ + -e 's:/opt/homebrew/:/do/not/look/elsewhere/:g' \ + config.mak.uname || die fi sed -i \ diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild index a2c9d157f9ed..d2b1f4666e4b 100644 --- a/dev-vcs/git/git-9999-r3.ebuild +++ b/dev-vcs/git/git-9999-r3.ebuild @@ -261,7 +261,10 @@ src_prepare() { if use prefix ; then # bug #757309 - eapply "${FILESDIR}"/git-2.37.2-darwin-prefix-gettext.patch + sed -i \ + -e 's:/usr/local/opt/gettext/:/do/not/look/elsewhere/:g' \ + -e 's:/opt/homebrew/:/do/not/look/elsewhere/:g' \ + config.mak.uname || die fi sed -i \
