On 2012-3-31 09:54 , Ryan Schmidt wrote:
>
> On Mar 30, 2012, at 15:45, Craig Treleaven wrote:
>
>> Well, it's been an interesting exercise getting this far and now I find out
>> that MythTV doesn't support DESTDIR. Is there a standard approach to
>> handling this problem? (Myth's configure is >5,000 lines; I'm concerned
>> about trying to path it.)
>
> The MacPorts defailt is:
>
> destroot.destdir DESTDIR=${destroot}
>
> The standard is for build systems to support DESTDIR; if it doesn't, all bets
> are off.
>
> Most build systems still support a way to specify where to install things,
> for example using a PREFIX or prefix variable. If so, you can tell MacPorts
> something like:
>
> destroot.destdir PREFIX=${destroot}${prefix}
>
> If the build system's install target is too confused to do even that
> properly, then you can throw it away and write your own destroot block and do
> everything yourself, as Jeremy said. But I would consider that a last resort.
You might also look at other distros that package MythTV; maybe one of
them fixed this.
- Josh
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev