ports/www/cgit/patches/patch-cgit_mk

10 lines
472 B
Text

--- 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)"'