]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Use compatibility regex library also on FreeBSD
authorJeff King <peff@peff.net>
Thu, 11 Sep 2008 12:12:16 +0000 (08:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Sep 2008 16:44:28 +0000 (09:44 -0700)
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>
Makefile

index 3a9de881231e6c420e19cfe39ba523439df3c9ae..8d81095765b1e73fa79e2950c47fd06f3c475ac7 100644 (file)
--- 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