Subject: pkg/5953: perl5 package fails to configure
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@ox.mines.edu>
List: netbsd-bugs
Date: 08/11/1998 19:41:00
>Number:         5953
>Category:       pkg
>Synopsis:       perl5 package fails to configure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 11 18:50:02 1998
>Last-Modified:
>Originator:     
>Organization:
	Speaking for myself
>Release:        August 11, 1998 (pkgsrc)
>Environment:
System: NetBSD io 1.3G NetBSD 1.3G (FIZ) #0: Mon Aug 10 10:29:03 MDT 1998 root@io:/var/tmp/compile/sys/arch/i386/compile/FIZ i386


>Description:
	The shell (/bin/sh) barfs on the following construct in the
	Configure script (after it is patched for NetBSD--the colons
	are inserted by patch-aa):

	: Sanity checks
	: if test ! -t 0; then
	:       echo "Say 'sh $me', not 'sh <$me'"
	:       exit 1
	: fi

	The complaint is:

	===>  Configuring for perl-5.00404
	./Configure: 95: Syntax error: "then" unexpected
	*** Error code 2

	Stop.
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.


>How-To-Repeat:
	cd /usr/pkgsrc/lang/perl5
	make

>Fix:
	If the objective of adding the colons is just to convert the code
	(effectively) into comments, then why not just use "#"?
>Audit-Trail:
>Unformatted: