qLinux
… a distribution study
<< Prev Slang-2.3.2
Next >> libestr-0.1.11
Reference: MC-4.8.27. Fix the build system:
patch -Np1 -i mc-4.8.27-bld-20220215.patch
Now fix the sources too:
patch -Np1 -i mc-4.8.27-src-20220215.patch
Configure the package:
PKG_CONFIG_PATH="/libs/lib/pkgconfig" \ ./configure --prefix=/qlnx \ --libexecdir=/qlnx/bin/libexec \ --datarootdir=/qlnx/dat \ --sysconfdir=/qlnx/etc \ --mandir=/qlnx/man \ --with-subshell=yes
The packages wants to link against libtermcap (similar like slang). In case it doesn't exists (what is usually), create a symlink to libncurses:
cd /libs/lib && ln -sfv /qlnx/lib/libncurses.so libtermcap.so
make make install
Fix the shebang of some helper files1):
fixshebang -d /qlnx/bin/libexec/mc -r
<< Prev Slang-2.3.2
Next >> libestr-0.1.11