summaryrefslogtreecommitdiff
path: root/package/libcap
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-01-02 03:12:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2018-01-02 03:12:33 +0100
commit6f557a2d9f96c86fae70b03b4e54559d8df41b67 (patch)
tree59b8ea81358839693d055287603e5bbc818d7908 /package/libcap
parentd4d164b7ca42a182b752d674969dfad425a8b8ce (diff)
libcap: fix .pc file
Diffstat (limited to 'package/libcap')
-rw-r--r--package/libcap/Makefile2
-rw-r--r--package/libcap/patches/patch-libcap_libcap_pc_in13
2 files changed, 14 insertions, 1 deletions
diff --git a/package/libcap/Makefile b/package/libcap/Makefile
index 294cd2bd8..ffceb83af 100644
--- a/package/libcap/Makefile
+++ b/package/libcap/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libcap
PKG_VERSION:= 2.25
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= 693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
PKG_DESCR:= capabilities library
PKG_SECTION:= libs/misc
diff --git a/package/libcap/patches/patch-libcap_libcap_pc_in b/package/libcap/patches/patch-libcap_libcap_pc_in
new file mode 100644
index 000000000..742f136c0
--- /dev/null
+++ b/package/libcap/patches/patch-libcap_libcap_pc_in
@@ -0,0 +1,13 @@
+--- libcap-2.25.orig/libcap/libcap.pc.in 2013-12-24 18:08:53.000000000 +0100
++++ libcap-2.25/libcap/libcap.pc.in 2018-01-01 20:11:08.911444653 +0100
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-libdir=@libdir@
+-includedir=@includedir@
++exec_prefix=${prefix}
++libdir=${prefix}/lib
++includedir=${prefix}/include
+
+ Name: libcap
+ Description: libcap