Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  8 Aug 2008 00:31:46 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/126350: [PATCH] bsd.lua.mk: LUA_COMPS=tolua broken
Message-ID:  <20080807203147.0C47A17045@hades.panopticon>
Resent-Message-ID: <200808072040.m77Ke1XU037957@freefall.freebsd.org>

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

>Number:         126350
>Category:       ports
>Synopsis:       [PATCH] bsd.lua.mk: LUA_COMPS=tolua broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 07 20:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #1: Wed Jun 25 15:36:22 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Depending on tolua via LUA_COMPS=tolua is broken, as for lua 5.0 it will depend on lang/tolua instead of lang/tolua50, and for lua 5.1 it will say that tolua comp is not available (while there is lang/tolua).

Attached patch should fix the problem.
>How-To-Repeat:
>Fix:

--- bsd.tolua.mk.patch begins here ---
Index: bsd.lua.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.lua.mk,v
retrieving revision 1.16
diff -u -r1.16 bsd.lua.mk
--- bsd.lua.mk	18 Feb 2008 18:41:26 -0000	1.16
+++ bsd.lua.mk	7 Aug 2008 20:27:27 -0000
@@ -150,7 +150,7 @@
 
 _LUA_PORT_lua_5.0=		lang/lua50
 _LUA_DEPTYPE_lua_5.0=	lib
-_LUA_PORT_tolua_5.0=	lang/tolua
+_LUA_PORT_tolua_5.0=	lang/tolua50
 _LUA_PORT_ruby_5.0=		lang/ruby-lua
 
 _LUA_PORT_app_5.0=		devel/lua50-app
@@ -165,6 +165,7 @@
 
 _LUA_PORT_lua_5.1=		lang/lua
 _LUA_DEPTYPE_lua_5.1=	build
+_LUA_PORT_tolua_5.1=	lang/tolua
 
 _LUA_PORT_filename_5.1=	devel/lua-filename
 _LUA_PORT_gettext_5.1=	devel/lua-gettext
--- bsd.tolua.mk.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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