[34950] trunk/dports/lang/ghc/Portfile
Rainer Müller
raimue at macports.org
Sat May 24 06:25:21 PDT 2008
Ryan Schmidt wrote:
> On Mar 12, 2008, at 11:41, gwright at macports.org wrote:
>
>> Log Message:
>> -----------
>> Fix reported destroot error caused by not cd'ing to ${worksrcpath}.
>
>> +# This should not be necessary, but it seems to work around a bug
>> +# that exist at least in MP 1.600.
>> destroot {
>> - system "${destroot.cmd} ${destroot.target}"
>> + system "cd ${worksrcpath} && ${destroot.cmd} ${destroot.target}"
>> }
>
> Why override the destroot phase at all?
If you use a workaround and reference a bug, also include a ticket
number. So later this can be removed after the ticket was fixed.
Rainer
More information about the macports-dev
mailing list