From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 11 02:20:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 552111065681 for ; Mon, 11 Aug 2008 02:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 293778FC13 for ; Mon, 11 Aug 2008 02:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7B2K2Ze065860 for ; Mon, 11 Aug 2008 02:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7B2K16G065859; Mon, 11 Aug 2008 02:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 11 Aug 2008 02:20:01 GMT Resent-Message-Id: <200808110220.m7B2K16G065859@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E2F01065670 for ; Mon, 11 Aug 2008 02:13:51 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id A333E8FC18 for ; Mon, 11 Aug 2008 02:13:50 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KSMus-0003DH-2x for FreeBSD-gnats-submit@freebsd.org; Mon, 11 Aug 2008 06:13:50 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 443DF91FB for ; Mon, 11 Aug 2008 06:10:29 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 1172517045; Mon, 11 Aug 2008 06:14:21 +0400 (MSD) Message-Id: <20080811021421.1172517045@hades.panopticon> Date: Mon, 11 Aug 2008 06:14:21 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/126440: [patch] bsd.lua.mk: add support for tolua++ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 02:20:02 -0000 >Number: 126440 >Category: ports >Synopsis: [patch] bsd.lua.mk: add support for tolua++ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 11 02:20: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: Add support for lang/tolua++ (lang/tolua++50) in a way similar to lang/tolua (lang/tolua50). >How-To-Repeat: >Fix: --- bsd.lua.mk.patch begins here --- Index: bsd.lua.mk =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/Mk/bsd.lua.mk,v retrieving revision 1.18 diff -u -r1.18 bsd.lua.mk --- bsd.lua.mk 10 Aug 2008 19:29:42 -0000 1.18 +++ bsd.lua.mk 10 Aug 2008 22:46:35 -0000 @@ -33,7 +33,8 @@ # type. # The available components are: # lua - The Lua library. -# tolua - The tolua library (for 4.0-5.0). +# tolua - The tolua library (for 4.0-5.1). +# toluaxx - The tolua++ library (for 5.0-5.1). # ruby - The Ruby bindings for Lua (for 4.0-5.0). # Other components (modules): # 5.0 - app, compat51, dfui, filename, gettext, @@ -77,8 +78,10 @@ # NOTE: please see comments below about its double function. # LUA_SUBDIR - The directory under bin/share/lib where Lua is installed. # Also used by Lua ports (lang/lua*) to set LATEST_LINK. -# LUA_INCDIR - The directory where Lua and tolua header files are installed. -# LUA_LIBDIR - The directory where Lua and tolua libraries are installed. +# LUA_INCDIR - The directory where Lua, tolua and tolua++ header files are +# installed. +# LUA_LIBDIR - The directory where Lua, tolua and tolua++ libraries are +# installed. # LUA_MODLIBDIR - The directory where Lua module libraries (.so) are installed. # LUA_MODSHAREDIR # - The directory where Lua modules (.lua) are installed. @@ -87,6 +90,7 @@ # LUA_CMD - The path to the Lua interpreter. # LUAC_CMD - The path to the Lua compiler. # TOLUA_CMD - The path to the tolua program. +# TOLUAXX_CMD - The path to the tolua++ program. # # Examples: # - A port that needs Lua 4.0 and tolua (also 4.0) libraries (lua for building @@ -145,7 +149,7 @@ # to be added to PLIST_SUB. # -_LUA_COMPS_ALL= lua tolua ruby \ +_LUA_COMPS_ALL= lua tolua toluaxx ruby \ app compat51 dfui filename gettext posix pty socket _LUA_DEP_TYPES_ALL= build lib run _LUA_VERS_ALL= 4.0 5.0 5.1 @@ -171,6 +175,7 @@ _LUA_PORT_lua_5.0= lang/lua50 _LUA_DEPTYPE_lua_5.0= lib _LUA_PORT_tolua_5.0= lang/tolua50 +_LUA_PORT_toluaxx_5.0= lang/tolua++50 _LUA_PORT_ruby_5.0= lang/ruby-lua _LUA_PORT_app_5.0= devel/lua50-app @@ -192,6 +197,7 @@ _LUA_PORT_pty_5.1= devel/lua-pty _LUA_PORT_socket_5.1= net/luasocket _LUA_PORT_tolua_5.1= lang/tolua +_LUA_PORT_toluaxx_5.1= lang/tolua++ . for comp in ${_LUA_COMPS_ALL} _LUA_COMP= ${comp} @@ -205,6 +211,9 @@ . elif ${_LUA_COMP} == "tolua" _LUA_FILE_${comp}_${ver}= ${LOCALBASE}/lib/lua${ver:S/.//g}/libtolua.a _LUA_DEPTYPE_${comp}_${ver}=build +. elif ${_LUA_COMP} == "toluaxx" +_LUA_FILE_${comp}_${ver}= ${LOCALBASE}/lib/lua${ver:S/.//g}/libtolua++.a +_LUA_DEPTYPE_${comp}_${ver}=build . elif ${_LUA_COMP} == "ruby" _LUA_FILE_${comp}_${ver}= ${RUBY_SITEARCHLIBDIR}/lua-${ver}.so _LUA_DEPTYPE_${comp}_${ver}=lib @@ -470,6 +479,7 @@ LUA_CMD?= ${LUA_PREFIX}/bin/lua-${LUA_VER} LUAC_CMD?= ${LUA_PREFIX}/bin/luac-${LUA_VER} TOLUA_CMD?= ${LUA_PREFIX}/bin/tolua-${LUA_VER} +TOLUAXX_CMD?= ${LUA_PREFIX}/bin/tolua++-${LUA_VER} .endif # _LUA_Need_Version --- bsd.lua.mk.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: