summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-09-30 12:03:33 -0700
committerPeter Korsgaard <jacmet@sunsite.dk>2011-01-14 00:33:37 +0100
commitd6e58cb18f05a4ff0a02437edb4438ac8392a58a (patch)
treead51f74bc77214b747d5c2be67bd9e499f3dc8bc /package
parentd895a699cc04cb63dc71fc657b7efa27538f5bdb (diff)
downloadbuildroot-novena-d6e58cb18f05a4ff0a02437edb4438ac8392a58a.tar.gz
buildroot-novena-d6e58cb18f05a4ff0a02437edb4438ac8392a58a.zip
coreutils: fixed missing hostname
hostname is no longer installed by default (ChangeLog-2007 - 2007-08-28), and has to be enabled with --enable-install-program=hostname. hostname's man file is not included, and because of this, during make, help2man is run against src/hostname to generate it's man file. src/hostname will not run on the host system, causing the build to fail. Generated the hostname man file, after building coreutils on the host system, and generated this patch, which fixes the build error. Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/coreutils/coreutils-7.4-hostname-man.patch51
-rw-r--r--package/coreutils/coreutils.mk3
2 files changed, 53 insertions, 1 deletions
diff --git a/package/coreutils/coreutils-7.4-hostname-man.patch b/package/coreutils/coreutils-7.4-hostname-man.patch
new file mode 100644
index 000000000..843ecaaae
--- /dev/null
+++ b/package/coreutils/coreutils-7.4-hostname-man.patch
@@ -0,0 +1,51 @@
+--- /dev/null 2010-09-18 00:21:07.280000001 -0700
++++ b/man/hostname.1 2010-09-23 12:08:06.000000000 -0700
+@@ -0,0 +1,48 @@
++.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
++.TH HOSTNAME "1" "September 2010" "GNU coreutils 7.4" "User Commands"
++.SH NAME
++hostname \- set or print the name of the current host system
++.SH SYNOPSIS
++.B hostname
++[\fINAME\fR]
++.br
++.B hostname
++\fIOPTION\fR
++.SH DESCRIPTION
++.\" Add any additional description here
++.PP
++Print or set the hostname of the current system.
++.TP
++\fB\-\-help\fR
++display this help and exit
++.TP
++\fB\-\-version\fR
++output version information and exit
++.SH AUTHOR
++Written by Jim Meyering.
++.SH "REPORTING BUGS"
++Report hostname bugs to bug\-coreutils@gnu.org
++.br
++GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
++.br
++General help using GNU software: <http://www.gnu.org/gethelp/>
++.br
++Report hostname translation bugs to <http://translationproject.org/team/>
++.SH COPYRIGHT
++Copyright \(co 2010 Free Software Foundation, Inc.
++License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
++.br
++This is free software: you are free to change and redistribute it.
++There is NO WARRANTY, to the extent permitted by law.
++.SH "SEE ALSO"
++The full documentation for
++.B hostname
++is maintained as a Texinfo manual. If the
++.B info
++and
++.B hostname
++programs are properly installed at your site, the command
++.IP
++.B info coreutils \(aqhostname invocation\(aq
++.PP
++should give you access to the complete manual.
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 6d510cb0f..7e64d25ea 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -54,7 +54,8 @@ COREUTILS_CONF_ENV = ac_cv_c_restrict=no \
utils_cv_localtime_cache=no
COREUTILS_CONF_OPT = --disable-rpath \
- --disable-dependency-tracking
+ --disable-dependency-tracking \
+ --enable-install-program=hostname
define COREUTILS_TOUCH_RENAME_M4
# ensure rename.m4 file is older than configure / aclocal.m4 so