Fix build with custom LOCALBASE.
Submitted by: kimelto on IRC Reported by: QATty Approved by: maintainer
This commit is contained in:
parent
0327e506d7
commit
177e72428a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235534
13
devel/cgit/files/patch-git__Makefile
Normal file
13
devel/cgit/files/patch-git__Makefile
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user