Module: kamailio
Branch: 5.2
Commit: e5bc89e1dffc548e3d309f45b291c87c39f6fb4b
URL:
https://github.com/kamailio/kamailio/commit/e5bc89e1dffc548e3d309f45b291c87…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2018-11-07T18:28:31Z
pkg/kamailio/alpine: Fixed docker image build for 5.2 branch
---
Modified: pkg/kamailio/alpine/APKBUILD
---
Diff:
https://github.com/kamailio/kamailio/commit/e5bc89e1dffc548e3d309f45b291c87…
Patch:
https://github.com/kamailio/kamailio/commit/e5bc89e1dffc548e3d309f45b291c87…
---
diff --git a/pkg/kamailio/alpine/APKBUILD b/pkg/kamailio/alpine/APKBUILD
index 4333ad90c6..0afec7e886 100644
--- a/pkg/kamailio/alpine/APKBUILD
+++ b/pkg/kamailio/alpine/APKBUILD
@@ -271,6 +271,12 @@ snapshot() {
}
prepare() {
+ # Workarround for broken hiredis-devel package (0.13.3-r1)
+ sudo sed -i -e 's:prefix=/usr/local:prefix=/usr:' \
+ -e 's:^libdir.*$:libdir=${exec_prefix}/lib:' \
+ -e 's:^includedir.*:includedir=${prefix}/include/hiredis:' \
+ /usr/lib/pkgconfig/hiredis.pc
+
default_prepare
cd "$builddir"