@matheusbsbs / matheus-bagliano / commits / 614dd90506
Fork 0

Makefile: SunOS 5.6 portability fix

Although configure takes care of most of this, set some default values for Solaris 2.6 (aka SunOS-5.6) to ensure git compiles even when configure is not used to build it. Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Gary V. Vaughan committed May 14, 2010 at 09:31 UTC 614dd90506476f82ab2595da384f71e78254f33e
1 file changed +12
Makefile
+12
@@ -812,6 +812,18 @@ ifeq ($(uname_S),SunOS)
812 NO_MKDTEMP = YesPlease
813 NO_MKSTEMPS = YesPlease
814 NO_REGEX = YesPlease
815 + ifeq ($(uname_R),5.6)
816 + SOCKLEN_T = int
817 + NO_HSTRERROR = YesPlease
818 + NO_IPV6 = YesPlease
819 + NO_SOCKADDR_STORAGE = YesPlease
820 + NO_UNSETENV = YesPlease
821 + NO_SETENV = YesPlease
822 + NO_STRLCPY = YesPlease
823 + NO_C99_FORMAT = YesPlease
824 + NO_STRTOUMAX = YesPlease
825 + GIT_TEST_CMP = cmp
826 + endif
827 ifeq ($(uname_R),5.7)
828 NEEDS_RESOLV = YesPlease
829 NO_IPV6 = YesPlease