poudriere testport and testing BROKEN

Kurt Jaeger lists at opsec.eu
Sun Nov 23 18:29:42 UTC 2014


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.

-- 
pi at opsec.eu            +49 171 3101372                         6 years to go !


More information about the freebsd-ports mailing list