ports/82959: lang/lua doesn't build with popen support though FreeBSD supports it

Ed Schouten ed at fxq.nl
Sun Jul 3 23:40:23 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list