Subject: pkg/34969: www/screws contauns "test ==" portability bug
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 11/02/2006 12:55:00
>Number:         34969
>Category:       pkg
>Synopsis:       www/screws contauns "test ==" portability bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 02 12:55:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15   (pkgsrc current today)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	The Synopsis about says it all...

>How-To-Repeat:
	Build www/screws with PKG_DEVELOPER set to yes
	(which is the default using pkg_comp)

	Expect to see ...

=> Checking for portability problems in extracted files
ERROR: [check-portability.sh] => Found test ... == ...:
ERROR: [check-portability.sh] src/Exec/sh/basic.sh: if [ "${MIME}" == "" ]; then
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/screws


>Fix:
	Patch the script, remove one incorrect '='