# [PATCH] Add Makefile check for FreeBSD 4.9-SECURITY

1 messages from 2008-10-26 to 2008-10-26. Participants: David M. Syzdek.
Thread: https://gitlist.dev/t/16047

## David M. Syzdek, 2008-10-26 11:52

Subject: [PATCH] Add Makefile check for FreeBSD 4.9-SECURITY
Message-ID: <1225021967-11902-1-git-send-email-david.syzdek@acsalaska.net>
URL: https://gitlist.dev/e/1225021967-11902-1-git-send-email-david.syzdek%40acsalaska.net

```
If the system is FreeBSD 4.9, then NO_UINTMAX_T and NO_STRTOUMAX is defined.

Signed-off-by: David M. Syzdek <david.syzdek@acsalaska.net>
---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index bf6a6dc..c568314 100644
--- a/Makefile
+++ b/Makefile
@@ -679,6 +679,10 @@ ifeq ($(uname_S),FreeBSD)
 	DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
 	COMPAT_CFLAGS += -Icompat/regex
 	COMPAT_OBJS += compat/regex/regex.o
+	ifeq ($(uname_R),4.9-SECURITY)
+		NO_UINTMAX_T = YesPlease
+		NO_STRTOUMAX = YesPlease
+	endif
 endif
 ifeq ($(uname_S),OpenBSD)
 	NO_STRCASESTR = YesPlease
-- 
1.6.0.2.GIT

```
