Browse Source

coreutils: changed to not regenerate manpages when cross compiling, because help2man fails

karasz/new-early
Alejandro Mery 16 years ago committed by Alejandro Mery
parent
commit
e64d8a134e
  1. 12
      base/coreutils/coreutils.conf
  2. 27
      base/coreutils/no_man.patch.cross

12
base/coreutils/coreutils.conf

@ -22,18 +22,14 @@ if atstage cross; then
fi fi
# apply the patches defined in the coreutils.desc # apply the patches defined in the coreutils.desc
var_append patchfiles ' ' "`match_source_file -p patch`" for x in $(match_source_file -p patch); do
var_append patchfiles ' ' "$x"
done
# without injecting coreutils won't build # without injecting coreutils won't build
var_append GCC_WRAPPER_INSERT ' ' '-std=gnu99' var_append GCC_WRAPPER_INSERT ' ' '-std=gnu99'
coreutils_premake() {
# remove man/Makefile.maint as it tries to rebuild man pages
echo -n "" > man/Makefile.maint
}
hook_add premake 5 "coreutils_premake"
# Move programs to the locations specified by the FHS # Move programs to the locations specified by the FHS
var_append INSTALL_WRAPPER_FILTER "|" \ var_append INSTALL_WRAPPER_FILTER "|" \
"sed -e 's,usr/bin/\ "sed -e 's,usr/bin/\

27
base/coreutils/no_man.patch.cross

@ -0,0 +1,27 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../coreutils/no_man.patch.cross
# Copyright (C) 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./Makefile.in.orig 2009-07-15 21:24:47.000000000 +0300
+++ ./Makefile.in 2009-07-15 21:25:11.000000000 +0300
@@ -936,7 +936,7 @@
# Some tests always need root privileges, others need them only sometimes.
ALL_RECURSIVE_TARGETS = install-root check-root distcheck-hook
-SUBDIRS = lib src doc man po tests gnulib-tests
+SUBDIRS = lib src doc po tests gnulib-tests
changelog_etc = \
ChangeLog-2005 \
ChangeLog-2006 \
Loading…
Cancel
Save