freeswitch: make pkg-config file usable 562/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 15 Aug 2020 10:30:27 +0000 (12:30 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 15 Aug 2020 10:44:08 +0000 (12:44 +0200)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch/patches/400-fix-pc-file.patch [new file with mode: 0644]

diff --git a/net/freeswitch/patches/400-fix-pc-file.patch b/net/freeswitch/patches/400-fix-pc-file.patch
new file mode 100644 (file)
index 0000000..d0ba2e2
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/build/freeswitch.pc.in
++++ b/build/freeswitch.pc.in
+@@ -1,8 +1,8 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-libdir=@libdir@
++libdir=${exec_prefix}/lib
+ libexecdir=@libexecdir@
+-includedir=@includedir@
++includedir=${prefix}/include/freeswitch
+ modulesdir=@modulesdir@
+ runtimedir=@runtimedir@
+ logfiledir=@logfiledir@