[mythtv] Relative PREFIX value for myth

Jeremiah Morris jm at whpress.com
Tue Dec 14 04:59:39 UTC 2004


The compiled-in PREFIX value for mythtv is currently assumed to be an 
absolute path.  If it's relative, it's evaluated relative to the 
current working directory.

The following patch evaluates a relative PREFIX variable starting from 
the executable's directory (when it's possible to determine it), 
instead of the working directory.  This is necessary for OS X 
application packaging, and I hope that other packagers will find uses 
for it -- I think a Myth frontend could run from a CD with a properly 
chosen PREFIX value.

- Jer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: relprefix2.diff
Type: application/octet-stream
Size: 1179 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041213/cb1b95d2/relprefix2.obj


More information about the mythtv-dev mailing list