summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2013-01-02 00:09:11 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2013-01-02 00:09:11 +0000
commit4a1a1e383963b68cfcb5bc2c943e241a2bbb7178 (patch)
tree92faad0ff7dbf86c265352a98fc8a3a341d7d498 /sys-process/fcron/files
parentTypo. (diff)
downloadgentoo-2-4a1a1e383963b68cfcb5bc2c943e241a2bbb7178.tar.gz
gentoo-2-4a1a1e383963b68cfcb5bc2c943e241a2bbb7178.tar.bz2
gentoo-2-4a1a1e383963b68cfcb5bc2c943e241a2bbb7178.zip
Version bump; add a readline USE flag for the new optional dependency.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'sys-process/fcron/files')
-rw-r--r--sys-process/fcron/files/fcron-3.1.1-noreadline.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-process/fcron/files/fcron-3.1.1-noreadline.patch b/sys-process/fcron/files/fcron-3.1.1-noreadline.patch
new file mode 100644
index 000000000000..161e75b0998e
--- /dev/null
+++ b/sys-process/fcron/files/fcron-3.1.1-noreadline.patch
@@ -0,0 +1,14 @@
+Index: fcron-3.1.1/configure.in
+===================================================================
+--- fcron-3.1.1.orig/configure.in
++++ fcron-3.1.1/configure.in
+@@ -86,7 +86,8 @@ AC_FUNC_WAIT3
+ AC_CHECK_LIB(xnet, shutdown)
+ AC_CHECK_LIB(selinux, getcon, [selinuxavail=1], [selinuxavail=0])
+ AC_CHECK_LIB(audit, audit_open, [auditavail=1], [auditavail=0])
+-AX_LIB_READLINE
++AC_ARG_WITH([readline], AS_HELP_STRING([--without-readline], [Build without readline @<:@default=yes@:>@]))
++AS_IF([test "x$with_readline" != "xno"], [AX_LIB_READLINE], [ax_cv_lib_readline=no])
+ AC_CHECK_FUNC(getloadavg, [getloadavg=1], [getloadavg=0])
+ AC_CHECK_LIB(kstat, kstat_open, [kstat=1], [kstat=0])
+ if test $getloadavg -eq 1; then