[PATCH v5 14/18] Makefile: SunOS 5.6 portability fix
- From
- Gary V. Vaughan <git@mlists.thewrittenword.com>
- Date
- May 14, 2010, 09:31 UTC
- Message-ID
- <20100514093833.233343000@mlists.thewrittenword.com>
- In-Reply-To
- <20100514093131.249094000@mlists.thewrittenword.com>
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> --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -812,6 +812,18 @@ ifeq ($(uname_S),SunOS) NO_MKDTEMP = YesPlease NO_MKSTEMPS = YesPlease NO_REGEX = YesPlease + ifeq ($(uname_R),5.6) + SOCKLEN_T = int + NO_HSTRERROR = YesPlease + NO_IPV6 = YesPlease + NO_SOCKADDR_STORAGE = YesPlease + NO_UNSETENV = YesPlease + NO_SETENV = YesPlease + NO_STRLCPY = YesPlease + NO_C99_FORMAT = YesPlease + NO_STRTOUMAX = YesPlease + GIT_TEST_CMP = cmp + endif ifeq ($(uname_R),5.7) NEEDS_RESOLV = YesPlease NO_IPV6 = YesPlease
-- Gary V. Vaughan (gary@thewrittenword.com)