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>
This commit is contained in:
parent
d895a699cc
commit
d6e58cb18f
51
package/coreutils/coreutils-7.4-hostname-man.patch
Normal file
51
package/coreutils/coreutils-7.4-hostname-man.patch
Normal file
@ -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.
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user