[39130] trunk/dports/lang/ghc

Ryan Schmidt ryandesign at macports.org
Sun Aug 10 23:27:48 PDT 2008


Sorry, I didn't see Rainer's similar message before sending mine.

On Aug 11, 2008, at 00:05, Ryan Schmidt wrote:

> On Aug 9, 2008, at 12:22, gwright at macports.org wrote:
>
>> Revision: 39130
>>           http://trac.macosforge.org/projects/macports/changeset/ 
>> 39130
>> Author:   gwright at macports.org
>> Date:     2008-08-09 10:22:34 -0700 (Sat, 09 Aug 2008)
>> Log Message:
>> -----------
>> Patch a socket bug and minor Portfile change to allow "port build"
>> to change to the working directory.
>
> [snip]
>
>>  build	{
>> -	system "env DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib ${build.cmd}"
>> +	system "cd ${worksrcpath} && env DYLD_FALLBACK_LIBRARY_PATH=$
>> {prefix}/lib ${build.cmd}"
>>  }
>
> Why override the build phase? Why not just append
> DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib to build.env?




More information about the macports-dev mailing list