From: Jeff King Date: Thu, 11 Sep 2008 12:12:16 +0000 (-0400) Subject: Use compatibility regex library also on FreeBSD X-Git-Tag: v1.6.0.2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=06e75d9ac7d03bb41bb9cd8e236d9dba635d44fd;p=git.git 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 --- 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