summaryrefslogtreecommitdiff
path: root/meta/packages/coreutils/coreutils-5.3.0/man.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-04-25 13:23:09 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-04-25 13:23:09 +0000
commit2445bb8a765ecdcc2386a60c9c8e876cff727ad2 (patch)
treec58182e36d07fbbb65dec7cda4e634006b6a8ea6 /meta/packages/coreutils/coreutils-5.3.0/man.patch
parentad2237b813cd10b2168422373cc4799e041c5885 (diff)
downloadopenembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.tar.gz
openembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.tar.bz2
openembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.tar.xz
openembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.zip
coreutils: add forgotten patches for 5.3.0
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1558 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/coreutils/coreutils-5.3.0/man.patch')
-rw-r--r--meta/packages/coreutils/coreutils-5.3.0/man.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/coreutils/coreutils-5.3.0/man.patch b/meta/packages/coreutils/coreutils-5.3.0/man.patch
new file mode 100644
index 000000000..5060e4fdf
--- /dev/null
+++ b/meta/packages/coreutils/coreutils-5.3.0/man.patch
@@ -0,0 +1,42 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- coreutils-5.3.0/configure.ac~man
++++ coreutils-5.3.0/configure.ac
+@@ -237,6 +237,20 @@
+ AM_GNU_GETTEXT([external], [need-ngettext])
+ AM_GNU_GETTEXT_VERSION(0.13.1)
+
++AC_MSG_CHECKING([whether to build man pages])
++AC_ARG_WITH(manpages,
++ AS_HELP_STRING([--with-manpages],
++ [Enable building of manpages (default=yes)]),
++ [cu_cv_build_manpages=$enableval],
++ [cu_cv_build_manpages=yes])
++# help2man doesn't work when crosscompiling, as it needs to run the
++# binary that was built.
++if test x"$cross_compiling" = x"yes"; then
++ cu_cv_build_manpages=no
++fi
++AC_MSG_RESULT($cu_cv_build_manpages)
++AM_CONDITIONAL(ENABLE_MANPAGES, test x"$cu_cv_build_manpages" = x"yes")
++
+ AC_CONFIG_FILES(
+ Makefile
+ doc/Makefile
+--- coreutils-5.3.0/Makefile.am~man
++++ coreutils-5.3.0/Makefile.am
+@@ -1,6 +1,11 @@
+ ## Process this file with automake to produce Makefile.in -*-Makefile-*-
+
++if ENABLE_MANPAGES
+ SUBDIRS = lib src doc man po tests
++else
++SUBDIRS = lib src doc po tests
++endif
++
+ EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \
+ .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \
+ .x-sc_space_tab .x-sc_sun_os_names \