6.6. Diffutils-3.12

The Diffutils package contains programs that show the differences between files or directories.

Approximate build time: 0.1 SBU
Required disk space: 35 MB

6.6.1. Installation of Diffutils

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.”