Subject: Re: Check for "test ... == ..." in configure scripts
To: None <tech-pkg@NetBSD.org>
From: Christian Biere <christianbiere@gmx.de>
List: tech-pkg
Date: 10/17/2006 20:20:43
David Howland wrote:
> net/kismet is now broken on my netbsd 3.1 system.  It will not 
> configure.  All I had to do to get it to build properly was to re-add 
> the "==" that the new patches had removed in favor of "=".  Once the 
> tests were returned to normal, the package built fine.  Were these 
> changes tested at all before they were imported?  Perhaps they work on 
> 4.0, I dont know, but this sure gave me a real "WTF?" moment today.

That seems to indicate the logic of the test case is inverted. You
could replace '#! /bin/sh' with '#! /usr/pkg/bin/bash' to see
whether it makes any difference.

-- 
Christian