Installation of Gawk Warning: do NOT run make uninstall on this package if you apply the sed fix to change the libexec directory definition. The uninstall rule in the Makefile file runs a command like rm -rf <libexecdir>/* Since we change the libexec directory to /usr/bin it'll run rm -rf /usr/bin/* Install Gawk by running the following commands: cp awklib/Makefile.in awklib/Makefile.in.backup && sed -e '/^datadir/s/awk/gawk/' \ -e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \     > awklib/Makefile.in && CPPFLAGS=-Dre_max_failures=re_max_failures2 \ ./configure --prefix=$LFS/usr --disable-nls \     --libexecdir=$LFS/usr/bin && make LDFLAGS=-static && make install