Add Makefile check for FreeBSD 4.9-SECURITY
[gitweb.git] / Makefile
index 0698365078c4b98de04da8701c68b5d1811b3487..426e1a652f23e55bf74f1c9024087d21cf285b49 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -694,6 +694,10 @@ ifeq ($(uname_S),FreeBSD)
        THREADED_DELTA_SEARCH = YesPlease
        COMPAT_CFLAGS += -Icompat/regex
        COMPAT_OBJS += compat/regex/regex.o
+       ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
+               NO_UINTMAX_T = YesPlease
+               NO_STRTOUMAX = YesPlease
+       endif
 endif
 ifeq ($(uname_S),OpenBSD)
        NO_STRCASESTR = YesPlease