X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage1%2Fpkg%2Fcoreutils;fp=stage1%2Fpkg%2Fcoreutils;h=d8de2a75c64065cffc97a1436857c6414102f205;hb=18d3407801ac2f397c389657cbbac26313b66e77;hp=c5ce63794d3b61cc234d124b21dabe5e87d2d000;hpb=57ea0b9691a83f7c3828626dd539d5083a5b2a15;p=hvlinux.git diff --git a/stage1/pkg/coreutils b/stage1/pkg/coreutils index c5ce637..d8de2a7 100644 --- a/stage1/pkg/coreutils +++ b/stage1/pkg/coreutils @@ -1,15 +1,14 @@ #!/bin/bash -hvconfig_pre() +hvconfig_post() { - # Fix a bug when the uname patch is automatically applied - touch ${LFS_TMP}/${PACKAGE}/man/hostname.1 + cd ${LFS_TMP}/${PACKAGE} + sed -e 's/^#\(run_help2man.*dummy-man\)/\1/' \ + -e 's/^\(run_help2man.*PERL.*\)/#\1/' \ + -i Makefile - # Patches may modify many .c files, so the make process will try to - # re-build the manpages by running help2man, and this causes problems - # when cross-compiling. So let's just update the timestamps and skip the - # help2man step. - find ${LFS_TMP}/${PACKAGE} -name \*.1 -exec touch {} \; + # Prevent autoreconf from discarding our modification to Makefile: + touch Makefile{,.in,.am} } # Configure cannot properly determine how to get free space when cross-compiling