Subject: pkg/33903: x11/xworld csh configure
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 07/03/2006 12:30:00
>Number:         33903
>Category:       pkg
>Synopsis:       x11/xworld csh configure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 03 12:30:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


===> Installing dependencies for xworld-2.0nb3
=> Required installed package x11-links>=0.25: x11-links-0.30 found
===> Overriding tools for xworld-2.0nb3
===> Extracting for xworld-2.0nb3
===> Patching for xworld-2.0nb3
=> Applying pkgsrc patches for xworld-2.0nb3
=> Fixing x11 options.
=> Fixing install options.
===> Creating toolchain wrappers for xworld-2.0nb3
===> Configuring for xworld-2.0nb3
./configure: line 4: syntax error near unexpected token `set'
./configure: line 4: `if ($OS == "SunOS") set OS="Solaris"'
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/xworld



>How-To-Repeat:


bmake configure


>Fix:


The configure script is a cshell.


--- Makefile.orig       Mon May 22 16:46:31 2006
+++ Makefile    Mon Jul  3 14:20:55 2006
@@ -30,3 +30,5 @@
 
 .include "../../mk/x11.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
+
+CONFIG_SHELL=          /bin/csh