The Less package contains a text file viewer.
Apply a patch that prevents Less from using a deprecated function:
patch -Np1 -i ../less-394-signal_fix-1.patch
Prepare Less for compilation:
./configure --prefix=/usr --sysconfdir=/etc
The meaning of the configure options:
This option tells the programs created by the package to look in /etc for the configuration files.
Compile the package:
This package does not come with a test suite.
Install the package: