From: Gerrit Pape Date: Fri, 15 Sep 2006 12:58:46 GMT Subject: [PATCH] Build on Debian GNU/Hurd Message-ID: <20060915125846.10469.qmail@ccc765dd61a02d.315fe32.mid.smarden.org> Patch from Cyril Brulebois to make the build process detect and support the Debian GNU/Hurd architecture, see http://bugs.debian.org/379841 Signed-off-by: Gerrit Pape --- Makefile | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 7b3114f..6e36eff 100644 --- a/Makefile +++ b/Makefile @@ -383,6 +383,11 @@ ifeq ($(uname_S),NetBSD) ALL_CFLAGS += -I/usr/pkg/include ALL_LDFLAGS += -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib endif +ifeq ($(uname_S),GNU) + # GNU stands for GNU/Hurd + NO_STRLCPY = YesPlease + ALL_CFLAGS += -DPATH_MAX=4096 +endif ifeq ($(uname_S),AIX) NO_STRCASESTR=YesPlease NO_STRLCPY = YesPlease -- 1.4.2.1