Bug 113498 - www/elinks: lua scripting broken
Summary: www/elinks: lua scripting broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-09 15:10 UTC by clemens fischer
Modified: 2007-07-30 16:00 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clemens fischer 2007-06-09 15:10:02 UTC
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.

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


as you can see, the "USE_LUA=..." doesn't carry over correctly.

regards, clemens--hoHgHI4KlV8JkbFBQuM4oI7UGmnEIqqhvmt7MUYpD4f9xO31
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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 =
===================================================================
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-09 15:10:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-07-30 15:54:04 UTC
arved       2007-07-30 14:53:58 UTC

  FreeBSD ports repository

  Modified files:
    www/elinks           Makefile 
  Added files:
    www/elinks/files     patch-src_scripting_lua_Makefile 
  Log:
  Fix Lua detection.
  
  PR:             113498
  Reported by:    clemens fischer <ino-news@spotteswoode.dnsalias.org>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.45      +2 -1      ports/www/elinks/Makefile
  1.1       +11 -0     ports/www/elinks/files/patch-src_scripting_lua_Makefile (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2007-07-30 15:54:08 UTC
State Changed
From-To: feedback->closed

I committed a fix, thanks for reporting