neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 78a24e5c55ac57efab90cf1e65b9af226b388a39
parent ca59b26dfd6e5bed6622fad2c57d57083714f9e7
Author: Lukas Fleischer <cgit@cryptocrack.de>
Date:   Mon,  4 Mar 2013 09:18:38 +0100

Makefile: Disable gettext in the Git submodule

Newer libgit versions depend on the libintl library. However, we
currently do not link against libintl which breaks compilation under
OpenBSD:

    git/libgit.a(commit.o)(.text+0x1d1b): In function `lookup_commit_or_die':
    git/gettext.h:47: undefined reference to `libintl_gettext'
    [...]

Since we do not support i18n in cgit, just disable gettext in the Git
submodule to fix this.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -99,7 +99,7 @@ ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD)) NEEDS_LIBICONV = yes endif -GIT_OPTIONS = prefix=/usr +GIT_OPTIONS = prefix=/usr NO_GETTEXT=1 OBJECTS = ifdef NO_ICONV