#!/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