message: Xcode build: prevent use of system java binaries
  GNU gettext build unconditionally runs Java checks, even with
  disable-java. On macOS, this triggers a warning window shown to the
  user about the need to install Java from Oracle. Avoid this by creating
  dummy failing binaries.
diff: @@ -12,6 +12,12 @@ fi
  # Include Homebrew binaries on PATH if not there yet:
  PATH="$PATH:/usr/local/bin"
  +# Fake Java binaries so that gettext configure script doesn't invoke the system ones:
  +mkdir -p "$DEPS_BUILD_DIR/helpers"
  +touch "$DEPS_BUILD_DIR"/helpers/{java,javac}
  +chmod +x "$DEPS_BUILD_DIR"/helpers/{java,javac}
  +PATH="$DEPS_BUILD_DIR/helpers:$PATH"
  +
  if [ -d /usr/local/opt/ccache/libexec ] ; then
  CC=/usr/local/opt/ccache/libexec/clang
  CXX=/usr/local/opt/ccache/libexec/clang++
  