summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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