DESTDIR not supported
Craig Treleaven
ctreleaven at cogeco.ca
Fri Mar 30 17:39:56 PDT 2012
At 5:54 PM -0500 3/30/12, 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.
Thanks, yes, PREFIX is supported. I'll give that a go.
Craig
More information about the macports-dev
mailing list