patch to get a relocateable mc

Ludovic Drolez ludovic.drolez at freealter.com
Fri Jul 20 08:56:09 UTC 2001


Hi !

I've just found that mc is not relocateable. If you compile mc with 
'--prefix=/tmp/xxx' and
then move it to /usr/local, even with 'export 
MC_LIBDIR=/usr/local/lib/mc' some things
do not work:
- syntax highlighting
- single filesystem (.tgz ...)
- + bogus error messages
Indeed, to take into account 'MC_LIBDIR' you need to use the 'mc_home' 
variable
and not the LIBDIR define.

The included patch fixes that. (for 4.5.5X)

Regards,

    Ludovic Drolez.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mc-4.5.51-reloc.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20010720/69c6f69d/attachment.ksh>


More information about the mc-devel mailing list