From root@spotteswoode.dnsalias.org  Sat Jun  9 14:04:56 2007
Return-Path: <root@spotteswoode.dnsalias.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 66C8A16A400
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Jun 2007 14:04:56 +0000 (UTC)
	(envelope-from root@spotteswoode.dnsalias.org)
Received: from mail-out01.broadnet-mediascape.de (mail-out01.broadnet-mediascape.de [62.206.1.18])
	by mx1.freebsd.org (Postfix) with SMTP id 0076F13C45A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Jun 2007 14:04:55 +0000 (UTC)
	(envelope-from root@spotteswoode.dnsalias.org)
Received: (qmail 13916 invoked by uid 113); 9 Jun 2007 14:04:54 -0000
Received: from 212.99.205.32 by mail-out01 (envelope-from <root@spotteswoode.dnsalias.org>, uid 106) with qmail-scanner-1.25 
 (trophie: 7.510-1002/521/20835.  
 Clear:RC:1(212.99.205.32):. 
 Processed in 0.250074 secs); 09 Jun 2007 14:04:54 -0000
Received: from d463cd20.datahighways.de (HELO spotteswoode.dnsalias.org) (212.99.205.32)
  by mail-out01.broadnet-mediascape.de with SMTP; 9 Jun 2007 14:04:53 -0000
Received: by spotteswoode.dnsalias.org (Postfix, from userid 0)
	id 9F9172A6F9; Sat,  9 Jun 2007 16:03:11 +0200 (CEST)
Message-Id: <20070609140311.9F9172A6F9@spotteswoode.dnsalias.org>
Date: Sat,  9 Jun 2007 16:03:11 +0200 (CEST)
From: clemens fischer <ino-news@spotteswoode.dnsalias.org>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc: clemens fischer <ino-news@spotteswoode.dnsalias.org>
Subject: www/elinks:  lua scripting broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify: jharris@widomaker.com

>Number:         113498
>Category:       ports
>Synopsis:       www/elinks:  lua scripting broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 09 14:10:02 GMT 2007
>Closed-Date:    Mon Jul 30 14:54:22 GMT 2007
>Last-Modified:  Mon Jul 30 15:00:07 GMT 2007
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Jun 9 14:10:10 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113498 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Mon Jul 30 14:54:08 UTC 2007 
State-Changed-Why:  
I committed a fix, thanks for reporting 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113498 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113498: commit references a PR
Date: Mon, 30 Jul 2007 14:54:04 +0000 (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"
 
>Unformatted:
