mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
net/kamailio: fix build on HEAD
by adding files/patch-utils__sercmd__Makefile
This commit is contained in:
parent
e19eca215d
commit
181100d6bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376784
22
net/kamailio/files/patch-utils__sercmd__Makefile
Normal file
22
net/kamailio/files/patch-utils__sercmd__Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
--- utils/sercmd/Makefile.orig 2015-01-11 14:54:24.246707463 +0100
|
||||
+++ utils/sercmd/Makefile 2015-01-11 14:56:12.692702813 +0100
|
||||
@@ -12,7 +12,7 @@
|
||||
NAME=sercmd
|
||||
endif
|
||||
|
||||
-readline_locations= /usr/include/readline/readline.h \
|
||||
+readline_locations= /usr/local/include/readline/readline.h \
|
||||
$(LOCALBASE)/include/readline/readline.h
|
||||
|
||||
use_readline ?=
|
||||
@@ -71,8 +71,8 @@
|
||||
endif
|
||||
|
||||
ifeq ($(use_readline),1)
|
||||
- DEFS+=-DUSE_READLINE
|
||||
- LIBS+=-lreadline -lncurses
|
||||
+ DEFS+=-DUSE_READLINE -I${LOCALBASE}/include
|
||||
+ LIBS+=-L${LOCALBASE}/lib -lreadline -lncurses
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user