From owner-freebsd-ports@FreeBSD.ORG Sun Nov 23 18:29:42 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3555EA05 for ; Sun, 23 Nov 2014 18:29:42 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC85C3B0 for ; Sun, 23 Nov 2014 18:29:41 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1Xsbuo-000D8X-CN for ports@freebsd.org; Sun, 23 Nov 2014 19:29:42 +0100 Date: Sun, 23 Nov 2014 19:29:42 +0100 From: Kurt Jaeger To: ports@freebsd.org Subject: Re: poudriere testport and testing BROKEN Message-ID: <20141123182942.GF44537@home.opsec.eu> References: <20141123181100.GE44537@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141123181100.GE44537@home.opsec.eu> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 18:29:42 -0000 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 !