poudriere testport and testing BROKEN
Bryan Drewery
bdrewery at FreeBSD.org
Wed Dec 3 23:57:21 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141203/6cd2f98c/attachment.sig>
More information about the freebsd-ports
mailing list