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