Details on this package are located in Section 8.61.2, “Contents of Diffutils.”
The Diffutils package contains programs that show the differences between files or directories.
When Diffutils is being configured, it checks to see if it is being cross compiled. If it is, configuration fails. Since we are cross compiling, comment out the specific lines that perform that test now:
sed -e '46252,+3 s/^/#/' \ -e '46596,+3 s/^/#/' \ -i configure
Prepare Diffutils for compilation:
./configure --prefix=/usr \ --host=$LFS_TGT \ --build=$(./build-aux/config.guess)
Compile the package:
make
Install the package:
make DESTDIR=$LFS install
Details on this package are located in Section 8.61.2, “Contents of Diffutils.”