]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tb/make-indent-conditional-with-non-spaces'
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2024 21:50:29 +0000 (14:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2024 21:50:29 +0000 (14:50 -0700)
Adjust to an upcoming changes to GNU make that breaks our Makefiles.

* tb/make-indent-conditional-with-non-spaces:
  Makefile(s): do not enforce "all indents must be done with tab"
  Makefile(s): avoid recipe prefix in conditional statements

1  2 
Makefile
config.mak.uname

diff --cc Makefile
Simple merge
index fcf3e2d785a04d765a495b67e24515755ef81c8e,cc5660e9251e89772a11b3cf2bbcbd1a127e22a8..a7607a567610a74bfae56214fc5787f063916ab3
@@@ -637,22 -638,10 +637,22 @@@ ifeq ($(uname_S),NONSTOP_KERNEL
        SANE_TOOL_PATH = /usr/coreutils/bin:/usr/local/bin
        SHELL_PATH = /usr/coreutils/bin/bash
  endif
 +ifeq ($(uname_S),OS/390)
 +      NO_SYS_POLL_H = YesPlease
 +      NO_STRCASESTR = YesPlease
 +      NO_REGEX = YesPlease
 +      NO_MMAP = YesPlease
 +      NO_NSEC = YesPlease
 +      NO_STRLCPY = YesPlease
 +      NO_MEMMEM = YesPlease
 +      NO_GECOS_IN_PWENT = YesPlease
 +      HAVE_STRINGS_H = YesPlease
 +      NEEDS_MODE_TRANSLATION = YesPlease
 +endif
  ifeq ($(uname_S),MINGW)
-       ifeq ($(shell expr "$(uname_R)" : '1\.'),2)
+         ifeq ($(shell expr "$(uname_R)" : '1\.'),2)
                $(error "Building with MSys is no longer supported")
-       endif
+         endif
        pathsep = ;
        HAVE_ALLOCA_H = YesPlease
        NO_PREAD = YesPlease