threads / patch / 16047

patchAdd Makefile check for FreeBSD 4.9-SECURITY

Subject: [PATCH] Add Makefile check for FreeBSD 4.9-SECURITY

## tl;dr

One message between Oct 26, 2008 and Oct 26, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

David M. Syzdek· Oct 26, 2008, 11:52 UTC · lore
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(-)
Show changes to Makefile +4 −0
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

← back to recent threads