From 06e75d9ac7d03bb41bb9cd8e236d9dba635d44fd Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 11 Sep 2008 08:12:16 -0400 Subject: [PATCH] Use compatibility regex library also on FreeBSD Commit 3632cfc24 makes the same change for Darwin; however, the problem also exists on FreeBSD. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 3a9de8812..8d8109576 100644 --- a/Makefile +++ b/Makefile @@ -677,6 +677,8 @@ ifeq ($(uname_S),FreeBSD) BASIC_CFLAGS += -I/usr/local/include BASIC_LDFLAGS += -L/usr/local/lib DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease + COMPAT_CFLAGS += -Icompat/regex + COMPAT_OBJS += compat/regex/regex.o endif ifeq ($(uname_S),OpenBSD) NO_STRCASESTR = YesPlease -- 2.26.2