X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fcoreutils;h=d8de2a75c64065cffc97a1436857c6414102f205;hb=77bcf79823c18609f64b3915f47751ec4f446350;hp=d454d933eb17bcfb99a654d78ba1af3fe472dbee;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage1/pkg/coreutils b/stage1/pkg/coreutils index d454d93..d8de2a7 100644 --- a/stage1/pkg/coreutils +++ b/stage1/pkg/coreutils @@ -1,5 +1,16 @@ #!/bin/bash +hvconfig_post() +{ + 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 # and as a result the df program will not be built. Add the following entries to # config.cache to correct this, and fix various cross-compiling issues: @@ -10,9 +21,3 @@ fu_cv_sys_stat_statfs2_bsize=yes gl_cv_func_working_mkstemp=yes EOF } - -hvconfig_pre() -{ - # Fix a bug when the uname patch is automatically applied - touch ${LFS_TMP}/${PACKAGE}/man/{uname,hostname}.1 -}