On 11/23/2014 12:29 PM, Kurt Jaeger wrote:
> Hi!
> 
>> I would like to test if a port set to BROKEN under certain
>> conditions will not be build.
>>
>> Problem is: If I use 
>>
>> poudriere testport
>>
>> then TRYBROKEN will always be set and so I can't test BROKEN ?
> 
> If I edit 
> 
> /usr/local/share/poudriere/testport.sh
> 
> and disable TRYBROKEN, it still gets build.
> 
> If I put 
> 
> .if ${OPSYS} == FreeBSD && ${OSVERSION} < 100000
> BROKEN= Does not compile with FreeBSD 9.x or older
> .endif
> 
> in the Makefile, surrounded by bsd.port.pre.mk and post.mk, it will
> not work.
> 

Use bulk. It will not set TRYBROKEN unless -T is used.

-- 
Regards,
Bryan Drewery

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to