OSDN Git Service

Build on Debian GNU/kFreeBSD
authorGerrit Pape <pape@smarden.org>
Sat, 29 Jul 2006 16:26:18 +0000 (16:26 +0000)
committerJunio C Hamano <junkio@cox.net>
Sun, 30 Jul 2006 20:36:12 +0000 (13:36 -0700)
Patch from Petr Salinger to make the build process detect and support the
Debian GNU/kFreeBSD architecture, see
 http://bugs.debian.org/380209

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index e9dce26..15864e2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -265,6 +265,9 @@ LIBS = $(GITLIBS) -lz
 ifeq ($(uname_S),Linux)
        NO_STRLCPY = YesPlease
 endif
+ifeq ($(uname_S),GNU/kFreeBSD)
+       NO_STRLCPY = YesPlease
+endif
 ifeq ($(uname_S),Darwin)
        NEEDS_SSL_WITH_CRYPTO = YesPlease
        NEEDS_LIBICONV = YesPlease