# [PATCH v2] config.mak.uname: update settings for FreeBSD

1 messages from 2025-06-12 to 2025-06-12. Participants: Brad Smith.
Thread: https://gitlist.dev/t/63631

## Brad Smith, 2025-06-12 04:36

Subject: [PATCH v2] config.mak.uname: update settings for FreeBSD
Message-ID: <aEpZXqTOForaZzbf@humpty.home.comstyle.com>
URL: https://gitlist.dev/e/aEpZXqTOForaZzbf%40humpty.home.comstyle.com

```
From bdeb596fa6a99c4059df52bbdaed08268100c43e Mon Sep 17 00:00:00 2001
From: Brad Smith <brad@comstyle.com>
Date: Mon, 9 Jun 2025 14:27:39 -0400
Subject: [PATCH] config.mak.uname: update settings for FreeBSD

FreeBSD 6.0 has memmem().

With making 6.0 the minimum version drop bits for supporting
FreeBSD 4.x.

Signed-off-by: Brad Smith <brad@comstyle.com>
---
 config.mak.uname | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/config.mak.uname b/config.mak.uname
index b1c5c4d5e8..da592eeaa0 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -302,16 +302,10 @@ ifeq ($(uname_S),FreeBSD)
         ifeq ($(firstword $(subst -, ,$(uname_R))),10.1)
 		OLD_ICONV = YesPlease
         endif
-	NO_MEMMEM = YesPlease
 	BASIC_CFLAGS += -I/usr/local/include
 	BASIC_LDFLAGS += -L/usr/local/lib
 	DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
 	USE_ST_TIMESPEC = YesPlease
-        ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
-		PTHREAD_LIBS = -pthread
-		NO_UINTMAX_T = YesPlease
-		NO_STRTOUMAX = YesPlease
-        endif
 	PYTHON_PATH = /usr/local/bin/python
 	PERL_PATH = /usr/local/bin/perl
 	HAVE_PATHS_H = YesPlease
-- 
2.49.0


```
