1
0
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:
Kurt Jaeger 2015-01-11 14:07:03 +00:00
parent e19eca215d
commit 181100d6bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376784

View 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