diff --git a/recipes/xz/recipe.sh b/recipes/xz/recipe.sh index 8e483f20b55c0824db035bf0057c0b3f9cd4727a..1d86fb00f45420d9df5b293f9150dbae4c6eef36 100644 --- a/recipes/xz/recipe.sh +++ b/recipes/xz/recipe.sh @@ -14,7 +14,12 @@ function recipe_update { function recipe_build { export CFLAGS="-static" - ./autogen.sh + # autogen.sh requires autopoint which is provided by the gettext homebrew + # formula on macOS. Unfortunately, homebrew does not install it into PATH + # because macOS provides the BSD gettext library. So we make sure to include + # it in PATH. + PATH="/usr/local/opt/gettext/bin:$PATH" ./autogen.sh + chmod +w build-aux/config.sub wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub ./configure \