summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-02-09 11:00:02 -0500
committerMike Frysinger <vapier@gentoo.org>2017-02-09 11:04:18 -0500
commit36aff20510b51dfc55d85f1eac4a40eb9295e333 (patch)
tree4420a29373e92d219fd4980939eece299b744906
parentdev-python/repoze-lru: Remove old (diff)
downloadgentoo-36aff20510b51dfc55d85f1eac4a40eb9295e333.tar.gz
gentoo-36aff20510b51dfc55d85f1eac4a40eb9295e333.tar.bz2
gentoo-36aff20510b51dfc55d85f1eac4a40eb9295e333.zip
sys-libs/libcap: document gperf logic a bit more
-rw-r--r--sys-libs/libcap/files/libcap-2.25-gperf.patch9
-rw-r--r--sys-libs/libcap/libcap-2.25.ebuild2
2 files changed, 8 insertions, 3 deletions
diff --git a/sys-libs/libcap/files/libcap-2.25-gperf.patch b/sys-libs/libcap/files/libcap-2.25-gperf.patch
index aa67a19db55..86e930f6a44 100644
--- a/sys-libs/libcap/files/libcap-2.25-gperf.patch
+++ b/sys-libs/libcap/files/libcap-2.25-gperf.patch
@@ -1,6 +1,9 @@
-diff -uNr libcap-2.25.ORIG/libcap/Makefile libcap-2.25/libcap/Makefile
---- libcap-2.25.ORIG/libcap/Makefile 2017-02-01 09:58:34.966642226 +0000
-+++ libcap-2.25/libcap/Makefile 2017-02-01 10:01:49.943651936 +0000
+update gperf call to work with gperf-3.1
+
+https://bugs.gentoo.org/604802
+
+--- a/libcap/Makefile
++++ b/libcap/Makefile
@@ -44,11 +44,12 @@
./_makenames > cap_names.h
diff --git a/sys-libs/libcap/libcap-2.25.ebuild b/sys-libs/libcap/libcap-2.25.ebuild
index ad5bb12955d..08611ed07c2 100644
--- a/sys-libs/libcap/libcap-2.25.ebuild
+++ b/sys-libs/libcap/libcap-2.25.ebuild
@@ -16,6 +16,8 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
IUSE="pam static-libs"
+# While the build system optionally uses gperf, we don't DEPEND on it because
+# the build automatically falls back when it's unavailable. #604802
RDEPEND=">=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}]
pam? ( virtual/pam )"
DEPEND="${RDEPEND}