[34950] trunk/dports/lang/ghc/Portfile

Ryan Schmidt ryandesign at macports.org
Sat May 24 00:57:12 PDT 2008


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?



More information about the macports-dev mailing list