[mythtv] [PATCH] packaging: easier PREFIX change in settings.pro
Jeremiah Morris
jm at whpress.com
Fri Nov 19 02:21:28 UTC 2004
[Nigel, Jan, and I have started working on changes for the
much-requested Mac CVS binary; you'll be seeing a lot of
packaging-related patches from us in the near future. I'd appreciate
it if any package maintainers would take a look and comment on these
patches.]
The PREFIX setting for Myth is not editable without physically changing
the settings.pro file. Taking a page from the QGLViewer project, I'd
like to change the section to:
isEmpty( PREFIX ) {
PREFIX=/usr/local
}
This allows users, or (more to the point) packaging scripts, to execute:
qmake PREFIX=/my/custom/dir mythtv.pro
to install into custom directories, instead of needing to rewrite the
settings.pro file. The full patch is attached.
- Jeremiah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: settingspro.diff
Type: application/text
Size: 435 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041118/49a97c7c/settingspro.bin
More information about the mythtv-dev
mailing list