Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  9 Jun 2007 16:03:11 +0200 (CEST)
From:      clemens fischer <ino-news@spotteswoode.dnsalias.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clemens fischer <ino-news@spotteswoode.dnsalias.org>
Subject:   ports/113498: www/elinks:  lua scripting broken
Message-ID:  <20070609140311.9F9172A6F9@spotteswoode.dnsalias.org>
Resent-Message-ID: <200706091410.l59EA3OF002215@freefall.freebsd.org>

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

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



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