Subject: pkg/24860: lang/lua builds without support for pipes
To: None <gnats-bugs@gnats.netbsd.org>
From: Cliff Cunnington <ccbsd@ccnet.xs4all.nl>
List: netbsd-bugs
Date: 03/20/2004 12:25:28
>Number:         24860
>Category:       pkg
>Synopsis:       lang/lua builds without support for pipes/io.popen()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 20 12:26:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Cliff Cunnington
>Release:        NetBSD 1.6.1
>Organization:
	-
>Environment:
System: NetBSD galileo.ccnet.xs4all.nl 1.6.1 NetBSD 1.6.1 (DELFT3-1) #0: Sun Feb 22 21:05:11 CET 2004 root@galileo.ccnet.xs4all.nl:/usr/src/sys/arch/i386/compile/DELFT3-1 i386
Architecture: i386
Machine: i386
>Description:
	Lua (version 5.0.1) builds without support for pipes. (In
	comparison, POPEN is enabled in lang/lua4.)
>How-To-Repeat:
	1. Build and install lang/lua.
	2. Run `lua`.
	3. At Lua command prompt enter:
	   
	    > foo=io.popen("ls")
	    
	4. Returns error:
	    stdin:1: `popen' not supported
	    ...
    	
>Fix:
	Add patch for: 
	
	CPPFLAGS+= -DUSE_POPEN=1


>Release-Note:
>Audit-Trail:
>Unformatted: