Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2014 19:29:42 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        ports@freebsd.org
Subject:   Re: poudriere testport and testing BROKEN
Message-ID:  <20141123182942.GF44537@home.opsec.eu>
In-Reply-To: <20141123181100.GE44537@home.opsec.eu>
References:  <20141123181100.GE44537@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@opsec.eu            +49 171 3101372                         6 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141123182942.GF44537>