From nobody@FreeBSD.org  Sun Jul  3 23:38:49 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F2DDE16A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  3 Jul 2005 23:38:48 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D4E5743D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  3 Jul 2005 23:38:48 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j63Ncm2p063142
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 3 Jul 2005 23:38:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j63NcmND063140;
	Sun, 3 Jul 2005 23:38:48 GMT
	(envelope-from nobody)
Message-Id: <200507032338.j63NcmND063140@www.freebsd.org>
Date: Sun, 3 Jul 2005 23:38:48 GMT
From: Ed Schouten <ed@fxq.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/lua doesn't build with popen support though FreeBSD supports it
X-Send-Pr-Version: www-2.3

>Number:         82959
>Category:       ports
>Synopsis:       lang/lua doesn't build with popen support though FreeBSD supports it
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 03 23:40:21 GMT 2005
>Closed-Date:    Tue Jul 05 22:16:51 GMT 2005
>Last-Modified:  Tue Jul 05 22:16:51 GMT 2005
>Originator:     Ed Schouten
>Release:        5.4-STABLE
>Organization:
>Environment:
FreeBSD zonk.fxq.nl 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Jul  2 15:29:21 CEST 2005     root@zonk.fxq.nl:/usr/obj/space0/src/sys/ZONK  i386
>Description:
The lang/lua port has a tweakable which allows you to build it with support for
the popen(3) libc call. Not all platforms support the popen call, AT&T UNIX v7
and higher do.

When building Lua on FreeBSD, it will build without popen support, which is
odd. popen support does come in handy and using Lua without popen will
break/cripple other applications in the tree, like the Ion window manager for
example.
>How-To-Repeat:
Build lang/lua.
>Fix:
Add the contents of the following file to 'files/patch-aa':

--- config      Mon Jul  4 01:19:44 2005
+++ config      Mon Jul  4 01:19:56 2005
@@ -45,7 +45,7 @@
 # If your system is not POSIX but has popen and pclose, define USE_POPEN=1.
 # If you don't want to support pipes, define USE_POPEN=0.
 #
-#POPEN= -DUSE_POPEN=1
+POPEN= -DUSE_POPEN=1
 #POPEN= -DUSE_POPEN=0
 #
 # The form below will probably work in (some) Windows systems.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Tue Jul 5 21:35:36 GMT 2005 
State-Changed-Why:  
Asked maintainer for approval 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Tue Jul 5 21:35:36 GMT 2005 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82959 

From: Pav Lucistnik <pav@FreeBSD.org>
To: him@richardkiss.com, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/82959: lang/lua doesn't build with popen support though
	FreeBSD supports it
Date: Tue, 05 Jul 2005 23:35:33 +0200

 Dear maintainer of FreeBSD port lang/lua, please take a look at
 
 http://www.freebsd.org/cgi/query-pr.cgi?q=82959
 
 Do you approve this change?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 Orfax's hip flask contained Old Janx Spirit, a mixture of potions of
 stupidity, paralysis, naivery, ruination, lose memories, confusion,
 and slime mold juice, with a twist of lemon.
     - from a post on Angband Community Forum
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Tue Jul 5 22:09:17 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82959 
>Unformatted:
