[52855] trunk/dports/net/deluge/Portfile

Joshua Root jmr at macports.org
Wed Jun 24 13:19:32 PDT 2009


On 2009-6-25 06:14, David Evans wrote:
> Joshua Root wrote:
>> On 2009-6-25 05:56, David Evans wrote:
>>  
>>> Joshua Root wrote:
>>>    
>>>> How about the attached patch for a slightly better dodgy hack?
>>>>
>>>> - Josh
>>>>         
>>> A step in the right direction but I don't see the need for adding the
>>> +python25 variant to deluge.  Just delete the dependency
>>> if boost +python25 support isn't detected.
>>>     
>>
>> Boost will not yet be installed when the check needs to be made.
>>
>> - Josh
>>
>>   
> That's why there's a check for libboost_system-mt.dylib.  The check
> handles both the case where boost is just not installed
> and the one where it's installed but there is no python support.

It errors out in pre-configure, by which time boost would already be
installed without the earlier depends_lib-delete. You can't error out
outside a phase because then you would get the error on targets like
'port info'.

- Josh


More information about the macports-dev mailing list