Module: kamailio
Branch: 5.2
Commit: f436f07eb34e73b27c8b0d86100eaccffc0869ce
URL:
https://github.com/kamailio/kamailio/commit/f436f07eb34e73b27c8b0d86100eacc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2018-11-07T20:52:11+01:00
Merge pull request #1713 from sergey-safarov/spec_update9
pkg/kamailio/alpine: Fixed docker image build for 5.2 branch
---
Modified: pkg/kamailio/alpine/APKBUILD
---
Diff:
https://github.com/kamailio/kamailio/commit/f436f07eb34e73b27c8b0d86100eacc…
Patch:
https://github.com/kamailio/kamailio/commit/f436f07eb34e73b27c8b0d86100eacc…
---
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"