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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Sep 11, 2008 at 08:12 UTC
06e75d9ac7d03bb41bb9cd8e236d9dba635d44fd
1 file changed
+2
Makefile
+2
@@ -677,6 +677,8 @@ ifeq ($(uname_S),FreeBSD)
677
BASIC_CFLAGS += -I/usr/local/include
678
BASIC_LDFLAGS += -L/usr/local/lib
679
DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
680
+ COMPAT_CFLAGS += -Icompat/regex
681
+ COMPAT_OBJS += compat/regex/regex.o
682
endif
683
ifeq ($(uname_S),OpenBSD)
684
NO_STRCASESTR = YesPlease