From d6e58cb18f05a4ff0a02437edb4438ac8392a58a Mon Sep 17 00:00:00 2001 From: Martin Banky Date: Thu, 30 Sep 2010 12:03:33 -0700 Subject: 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 Acked-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/coreutils/coreutils-7.4-hostname-man.patch | 51 ++++++++++++++++++++++ package/coreutils/coreutils.mk | 3 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 package/coreutils/coreutils-7.4-hostname-man.patch (limited to 'package') 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: ++.br ++General help using GNU software: ++.br ++Report hostname translation bugs to ++.SH COPYRIGHT ++Copyright \(co 2010 Free Software Foundation, Inc. ++License GPLv3+: GNU GPL version 3 or later . ++.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 -- cgit v1.2.3