]> git.ipfire.org Git - thirdparty/git.git/commit
macOS: make Homebrew use configurable
authorRené Scharfe <l.s.r@web.de>
Wed, 24 Dec 2025 08:02:45 +0000 (09:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Dec 2025 07:43:09 +0000 (16:43 +0900)
commit363837afe75e7d6f6efd53775887dff67fb9e5d6
treeb4a14a229e56309e0130cbc17b73eaa150acca4e
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed
macOS: make Homebrew use configurable

On macOS we opportunistically use Homebrew-installed versions of
gettext(3) and msgfmt(1).  Make that behavior configurable by providing
make variables to disable Homebrew usage (NO_HOMEBREW) and to allow
using a non-default installation location (HOMEBREW_PREFIX).

Include and link only the gettext keg via the symlink opt/gettext
pointing to its installed version instead of using the Homebrew prefix.
This is simpler and prevents accidentally including other libraries.

Suggested-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Suggested-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
config.mak.uname