hard-coded paths

Constantine cnst at rbcmail.ru
Sat Apr 10 15:16:38 PDT 2004


Hello,

I am porting an application that has hard-coded paths for the message 
files. They are defined in the Makefile, but still they are hardcoded in 
the programme. Is there a way to go around this problem? As it is, the 
port will not work on systems with installations different from the one 
of compile time.

I've tried to define relative paths (i.e. ../share/portname), but it 
does not seem to work...

Constantine.


More information about the freebsd-ports mailing list