ports/113498: www/elinks: lua scripting broken
clemens fischer
ino-news at spotteswoode.dnsalias.org
Sat Jun 9 14:10:03 UTC 2007
>Number: 113498
>Category: ports
>Synopsis: www/elinks: lua scripting broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 09 14:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: clemens fischer
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD spotteswoode.dnsalias.org 6.2-STABLE
FreeBSD 6.2-STABLE #19: Sat May 26 19:53:56 CEST 2007
root at spotteswoode.dnsalias.org:/usr/obj/usr/src/sys/spott i386
>Description:
after recent upgrades i noticed that www/elinks doesn't recognize lua
scripting prerequisites anymore. the port has "USE_LUA=5.0", but this
doesn't seem to work.
>How-To-Repeat:
cd /usr/ports/www/elinks &&
make WITH_{88COLORS,256COLORS,BITTORRENT,NNTP,FTP,FINGER,EXMODE,HIGHLIGHT,FASTMEM,LUASCRIPT,LOCAL_CGI,ICONV}=1
and watch.
>Fix:
the following is a workaround only! after "make ... configure",
this patch gets me a lua-scriptable elinks, it is against
./work/elinks*/Makefile.config:
# find . -name '*,v' -execdir rcsdiff --unified '{}' \;
===================================================================
RCS file: Makefile.config,v
retrieving revision 1.1
diff --unified -r1.1 Makefile.config
--- Makefile.config 2007/06/09 13:24:16 1.1
+++ Makefile.config 2007/06/09 13:25:35
@@ -64,8 +64,8 @@
JW =
LIBDIR = /usr/local/lib
LOCALEDIR = /usr/local/share/locale
-LUA_CFLAGS =
-LUA_LIBS = -llua -llualib -lm
+LUA_CFLAGS = -I /l/include/lua50
+LUA_LIBS = -L /l/lib/lua50 -llua -llualib -lm
MKINSTALLDIRS = $(PATHPREFIX)config/mkinstalldirs
MSGFMT =
OPENSSL_CFLAGS =
===================================================================
as you can see, the "USE_LUA=..." doesn't carry over correctly.
regards, clemens
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list