summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-09-11 08:12:16 -0400
committerJunio C Hamano <gitster@pobox.com>2008-09-11 09:44:28 -0700
commit06e75d9ac7d03bb41bb9cd8e236d9dba635d44fd (patch)
treed4896ec200eebe5c3e9cc4805004c7b6e9a83aef
parent9c101b3e6ff23378447bacd537a3dea57b1eed35 (diff)
downloadgit-06e75d9ac7d03bb41bb9cd8e236d9dba635d44fd.tar.gz
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>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3a9de88123..8d81095765 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