Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 23:38:48 GMT
From:      Ed Schouten <ed@fxq.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/82959: lang/lua doesn't build with popen support though FreeBSD supports it
Message-ID:  <200507032338.j63NcmND063140@www.freebsd.org>
Resent-Message-ID: <200507032340.j63NeLu5018999@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 03 23:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507032338.j63NcmND063140>