summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-20 06:22:44 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-20 06:22:44 +0000
commit6f0286b0ac92d6dc6b0d68b6164d46b1fa85615e (patch)
tree8b55b3885a07f94b28f1aa6f9f9fc9b9638162ce /net-misc/miredo/files
parentmarked x86 per bug 422469 (diff)
downloadhistorical-6f0286b0ac92d6dc6b0d68b6164d46b1fa85615e.tar.gz
historical-6f0286b0ac92d6dc6b0d68b6164d46b1fa85615e.tar.bz2
historical-6f0286b0ac92d6dc6b0d68b6164d46b1fa85615e.zip
Revbump to improve ebuils (thanks for suggestions by Bertrand Jacquin and Diego Elio Pettenò on bug 421171), drop old.
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'net-misc/miredo/files')
-rw-r--r--net-misc/miredo/files/miredo-1.2.5-configure-libcap.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/miredo/files/miredo-1.2.5-configure-libcap.diff b/net-misc/miredo/files/miredo-1.2.5-configure-libcap.diff
new file mode 100644
index 000000000000..cffdbf1e562e
--- /dev/null
+++ b/net-misc/miredo/files/miredo-1.2.5-configure-libcap.diff
@@ -0,0 +1,33 @@
+--- configure.ac.ori 2012-06-14 21:55:13.756603416 +0200
++++ configure.ac 2012-06-14 23:12:01.425399836 +0200
+@@ -150,16 +150,23 @@
+
+ # POSIX capabilities
+ LIBCAP=""
+-AC_CHECK_HEADERS([sys/capability.h], [
+- AC_CHECK_LIB(cap, cap_set_proc, [
+- LIBCAP="-lcap"
+- AC_DEFINE(HAVE_LIBCAP, 1,
+- [Define to 1 if you have the `cap' library (-lcap).])
+- ])
++AC_ARG_WITH(libcap,
++ AS_HELP_STRING([--with-libcap], [enable POSIX 1003.1e capabilities]),
++ with_libcap=$withval,
++ with_libcap=auto)
++AC_MSG_CHECKING([whether to enable POSIX 1003.1e capabilities])
++AC_MSG_RESULT($with_libcap)
++
++AS_IF([test "x$with_libcap" != "xno"], [
++ AC_CHECK_HEADERS([sys/capability.h])
++ AC_CHECK_LIB(cap, cap_set_proc, [
++ LIBCAP="-lcap"
++ AC_DEFINE(HAVE_LIBCAP, 1,
++ [Define to 1 if you have the cap library (-lcap).])
++ ])
+ ])
+ AC_SUBST(LIBCAP)
+
+-
+ # Judy
+ AC_ARG_WITH(Judy,
+ [AS_HELP_STRING(--with-Judy,