sys-libs/libcap: document gperf logic a bit more
authorMike Frysinger <vapier@gentoo.org>
Thu, 9 Feb 2017 16:00:02 +0000 (11:00 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 9 Feb 2017 16:04:18 +0000 (11:04 -0500)
sys-libs/libcap/files/libcap-2.25-gperf.patch
sys-libs/libcap/libcap-2.25.ebuild

index aa67a19db55473b44241a93b17f735b446500d68..86e930f6a4469c2fbab5f1874c6a5f0a1a5fec13 100644 (file)
@@ -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
  
index ad5bb12955db87ded2e56a7a70a5adc2a42007a9..08611ed07c24ee285f2fe9621b4e560dcdc9984f 100644 (file)
@@ -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}