qLinux
… a distribution study
<< Prev Diffutils
Next >> Findutils
Reference: 8.56. Gawk-5.1.0. Fix the build system:
patch -Np1 -i gawk-5.1.0-bld-20220207.patch
Apply a patch to fix some source files:
patch -Np1 -i gawk-5.1.0-src-20220207.patch
Prevent installation of unneeded files (usually installed in  /etc/profile.d/ 
:
sed -i 's/extras//' Makefile.in
Now configure the package:
./configure --prefix=/qlnx \ --includedir=/qlnx/inc \ --libexecdir=/qlnx/bin/libexec \ --datarootdir=/qlnx/dat \ --mandir=/qlnx/man \ --infodir=/tmp
Build and install gawk:
make make install
<< Prev Diffutils
        
Next >> Findutils