Skip to content

Commit d584219

Browse files
brad0gitster
authored andcommitted
config.mak.uname: update settings for OpenBSD
OpenBSD requires DIR_HAS_BSD_GROUP_SEMANTICS. OpenBSD has never had the BSD sysctl KERN_PROC_PATHNAME nor does it support or use the /proc filesystem. OpenBSD has had strcasestr() since 3.8. OpenBSD has had memmem() since 5.4. Signed-off-by: Brad Smith <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d50a5e8 commit d584219

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

config.mak.uname

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,17 +294,14 @@ ifeq ($(uname_S),FreeBSD)
294294
FILENO_IS_A_MACRO = UnfortunatelyYes
295295
endif
296296
ifeq ($(uname_S),OpenBSD)
297-
NO_STRCASESTR = YesPlease
298-
NO_MEMMEM = YesPlease
297+
DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
299298
USE_ST_TIMESPEC = YesPlease
300299
NEEDS_LIBICONV = YesPlease
301300
BASIC_CFLAGS += -I/usr/local/include
302301
BASIC_LDFLAGS += -L/usr/local/lib
303302
HAVE_PATHS_H = YesPlease
304303
HAVE_BSD_SYSCTL = YesPlease
305-
HAVE_BSD_KERN_PROC_SYSCTL = YesPlease
306304
CSPRNG_METHOD = arc4random
307-
PROCFS_EXECUTABLE_PATH = /proc/curproc/file
308305
FREAD_READS_DIRECTORIES = UnfortunatelyYes
309306
FILENO_IS_A_MACRO = UnfortunatelyYes
310307
endif

0 commit comments

Comments
 (0)