From mboxrd@z Thu Jan 1 00:00:00 1970 From: drue at therub.org (Dan Rue) Date: Wed, 17 Oct 2012 11:23:10 -0500 Subject: [PATCH] Fix paths for building in FreeBSD Message-ID: <20121017162310.GA5007@therub.org> --- Makefile | 4 ++++ cgit.conf.freebsd | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 cgit.conf.freebsd diff --git a/Makefile b/Makefile index 1e34129..7a330e7 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,10 @@ ifeq ($(uname_O),Cygwin) NEEDS_LIBICONV = YesPlease endif +ifeq ($(uname_S),FreeBSD) + include cgit.conf.freebsd +endif + # # Let the user override the above settings. # diff --git a/cgit.conf.freebsd b/cgit.conf.freebsd new file mode 100644 index 0000000..883d551 --- /dev/null +++ b/cgit.conf.freebsd @@ -0,0 +1,6 @@ +# FreeBSD-specific Paths +LDFLAGS = -L/usr/local/lib +CFLAGS = -I/usr/local/include +prefix = /usr/local +NEEDS_LIBICONV = yes +GIT_OPTIONS = prefix=/usr/local -- 1.7.10.3