aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-06-10 15:44:41 +0800
committeritetcu <itetcu@FreeBSD.org>2009-06-10 15:44:41 +0800
commit4f2c42bbac97d8166b2e3359799531791e9abd7d (patch)
tree8d3f1c2888917b4fe9241da99c8fc7aab6fd2afa /devel
parent501726859b7de497fdc8f3ebb5643301200d090c (diff)
downloadfreebsd-ports-gnome-4f2c42bbac97d8166b2e3359799531791e9abd7d.tar.gz
freebsd-ports-gnome-4f2c42bbac97d8166b2e3359799531791e9abd7d.tar.zst
freebsd-ports-gnome-4f2c42bbac97d8166b2e3359799531791e9abd7d.zip
Fix build with custom LOCALBASE.
Submitted by: kimelto on IRC Reported by: QATty Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/cgit/files/patch-git__Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/cgit/files/patch-git__Makefile b/devel/cgit/files/patch-git__Makefile
new file mode 100644
index 000000000000..ba30170c78cd
--- /dev/null
+++ b/devel/cgit/files/patch-git__Makefile
@@ -0,0 +1,13 @@
+--- git/Makefile.orig 2009-06-08 16:20:54.000000000 +0200
++++ git/Makefile 2009-06-08 16:21:48.000000000 +0200
+@@ -692,8 +692,8 @@
+ ifeq ($(uname_S),FreeBSD)
+ NEEDS_LIBICONV = YesPlease
+ NO_MEMMEM = YesPlease
+- BASIC_CFLAGS += -I/usr/local/include
+- BASIC_LDFLAGS += -L/usr/local/lib
++ BASIC_CFLAGS += -I${LOCALBASE}/include
++ BASIC_LDFLAGS += -L${LOCALBASE}/lib
+ DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
+ THREADED_DELTA_SEARCH = YesPlease
+ ifeq ($(shell expr "$(uname_R)" : '4\.'),2)