From 950d3694cfd6eadecfb01ff2d411c27b25a523ff Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 4 Apr 2010 16:10:25 +0000 Subject: Version bump per bug #311059. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- sys-power/pm-utils/files/1.3.0-fix_autotools.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 sys-power/pm-utils/files/1.3.0-fix_autotools.patch (limited to 'sys-power/pm-utils/files') diff --git a/sys-power/pm-utils/files/1.3.0-fix_autotools.patch b/sys-power/pm-utils/files/1.3.0-fix_autotools.patch new file mode 100644 index 000000000000..389831b46ff4 --- /dev/null +++ b/sys-power/pm-utils/files/1.3.0-fix_autotools.patch @@ -0,0 +1,52 @@ +diff -urN pm-utils-1.3.0.old//configure.ac pm-utils-1.3.0/configure.ac +--- pm-utils-1.3.0.old//configure.ac 2010-03-15 04:44:45.000000000 +0100 ++++ pm-utils-1.3.0/configure.ac 2010-04-04 17:00:13.000000000 +0200 +@@ -8,28 +8,28 @@ + AC_PROG_LN_S + + dnl --------------------------------------------------------------------------- +-dnl - Extra verbose warning switches +-dnl --------------------------------------------------------------------------- +-CPPFLAGS="$CPPFLAGS -Wall -Werror" +- +-dnl --------------------------------------------------------------------------- +-dnl - Debugging switches +-dnl --------------------------------------------------------------------------- +-CPPFLAGS="$CPPFLAGS -g" +- +-dnl --------------------------------------------------------------------------- + dnl - Manual page build + dnl --------------------------------------------------------------------------- +-AC_PATH_PROG(XMLTO, xmlto, no) +-AM_CONDITIONAL(HAVE_XMLTO, [test "x$XMLTO" != xno]) +- +-dnl --------------------------------------------------------------------------- +-dnl - Make paths available for source files +-dnl --------------------------------------------------------------------------- +-AC_SUBST(SYSCONFDIR, $sysconfdir) +-AC_SUBST(DATADIR, $datadir) +-AC_SUBST(BINDIR, $bindir) +-AC_SUBST(SBINDIR, $sbindir) ++AC_ARG_ENABLE([doc], ++ AC_HELP_STRING([--disable-docs], ++ [Disable manpage generating via xmlto [[default=auto]]]), ++ [MAN="$enableval"], ++ [MAN=auto]) ++ AC_PATH_PROG(XMLTO, xmlto, no) ++ AS_IF([test "x$MAN" = "xyes"], ++ [ ++ AS_IF([test "x$XMLTO" != "xyes"], ++ [AC_MSG_ERROR([Manpage generating requested but xmlto not found.]) ++ ]) ++ ], ++ [test "x${MAN}" != "xno"], ++ [ ++ AS_IF([test "x$XMLTO" = "xyes"], ++ [MAN="yes"], ++ [MAN="no"]) ++ ]) ++AM_CONDITIONAL(HAVE_XMLTO, [test "x$MAN" != xno]) ++AC_MSG_RESULT([checking whether to build manpages... $MAN]) + + dnl --------------------------------------------------------------------------- + dnl - Makefiles, etc. -- cgit v1.2.3-65-gdbad