aboutsummaryrefslogtreecommitdiffstats
path: root/www/cgit/patches/patch-cgit_mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/cgit/patches/patch-cgit_mk')
-rw-r--r--www/cgit/patches/patch-cgit_mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/cgit/patches/patch-cgit_mk b/www/cgit/patches/patch-cgit_mk
new file mode 100644
index 0000000..c74f62d
--- /dev/null
+++ b/www/cgit/patches/patch-cgit_mk
@@ -0,0 +1,11 @@
+$OpenBSD: patch-cgit_mk,v 1.1 2013/07/15 07:00:49 jasper Exp $
+--- cgit.mk.orig Sun Jul 14 23:18:05 2013
++++ cgit.mk Sun Jul 14 23:18:39 2013
+@@ -17,6 +17,7 @@ $(CGIT_PREFIX)VERSION: force-version
+
+ # CGIT_CFLAGS is a separate variable so that we can track it separately
+ # and avoid rebuilding all of Git when these variables change.
++CGIT_CFLAGS += -L${LOCALBASE}/include
+ CGIT_CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
+ CGIT_CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
+ CGIT_CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'