kamailio-5.x: update hiredis patch 416/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 13 Apr 2019 11:02:34 +0000 (13:02 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 13 Apr 2019 11:03:15 +0000 (13:03 +0200)
The libhiredis package now contais a fix for its pkgconfig file. This
allows to add prefixes, which is needed when cross-compiling in
environments like OpenWrt.

Therefore, the workaround in kamailio is no longer needed and can be
removed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/kamailio-5.x/Makefile
net/kamailio-5.x/patches/140-redis_use_pkg-config.patch

index 0387cf4c0c960bec95c5668171682c1e1037ccad..c56b6ebb4801575a4d298c495999e2268774c7c3 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=kamailio5
 PKG_VERSION:=5.2.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=https://www.kamailio.org/pub/kamailio/$(PKG_VERSION)/src
 PKG_SOURCE:=kamailio-$(PKG_VERSION)$(PKG_VARIANT)_src.tar.gz
index a7922e7353327a660a2e5d3849119da6ef90c1ed..86e7d7bfa46bd9efe271f2029ab1e57c86b19da9 100644 (file)
  
  ifeq ($(HIREDIS_BUILDER),)
        HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis
-@@ -19,7 +17,7 @@ else
-       HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
-       HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
--ifeq (,$(findstring hiredis,$(HIREDISDEFS)))
-+ifneq (,$(findstring hiredis,$(HIREDISDEFS)))
-       DEFS+=-DWITH_HIREDIS_PATH
- endif
 --- a/src/modules/ndb_redis/Makefile
 +++ b/src/modules/ndb_redis/Makefile
 @@ -5,12 +5,10 @@ include ../../Makefile.defs
  
  ifeq ($(HIREDIS_BUILDER),)
        HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis  -I/usr/include/hiredis
-@@ -19,7 +17,7 @@ else
-       HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
-       HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
--ifeq (,$(findstring hiredis,$(HIREDISDEFS)))
-+ifneq (,$(findstring hiredis,$(HIREDISDEFS)))
-       DEFS+=-DWITH_HIREDIS_PATH
- endif
 --- a/src/modules/topos_redis/Makefile
 +++ b/src/modules/topos_redis/Makefile
 @@ -5,12 +5,10 @@ include ../../Makefile.defs
  
  ifeq ($(HIREDIS_BUILDER),)
        HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis  -I/usr/include/hiredis
-@@ -19,7 +17,7 @@ else
-       HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
-       HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
--ifeq (,$(findstring hiredis,$(HIREDISDEFS)))
-+ifneq (,$(findstring hiredis,$(HIREDISDEFS)))
-       DEFS+=-DWITH_HIREDIS_PATH
- endif