X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fcoreutils;h=d8de2a75c64065cffc97a1436857c6414102f205;hb=81c5d62e66f370b7888fbf68c706c7f5248a9cd9;hp=28955913dbc23b2be6c7b8b2f9efd28e4273010a;hpb=81da365042d1bf4354e0480d888fe3b8425c47c7;p=hvlinux.git diff --git a/stage1/pkg/coreutils b/stage1/pkg/coreutils index 2895591..d8de2a7 100644 --- a/stage1/pkg/coreutils +++ b/stage1/pkg/coreutils @@ -1,9 +1,14 @@ #!/bin/bash -hvconfig_pre() +hvconfig_post() { - # Fix a bug when the uname patch is automatically applied - touch ${LFS_TMP}/${PACKAGE}/man/{uname,hostname}.1 + cd ${LFS_TMP}/${PACKAGE} + sed -e 's/^#\(run_help2man.*dummy-man\)/\1/' \ + -e 's/^\(run_help2man.*PERL.*\)/#\1/' \ + -i Makefile + + # Prevent autoreconf from discarding our modification to Makefile: + touch Makefile{,.in,.am} } # Configure cannot properly determine how to get free space when cross-compiling