From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 28 06:50:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8828F16A408 for ; Fri, 28 Apr 2006 06:50:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F9EE43D64 for ; Fri, 28 Apr 2006 06:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3S6oEqR022696 for ; Fri, 28 Apr 2006 06:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3S6oEvs022695; Fri, 28 Apr 2006 06:50:14 GMT (envelope-from gnats) Resent-Date: Fri, 28 Apr 2006 06:50:14 GMT Resent-Message-Id: <200604280650.k3S6oEvs022695@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, Richard Kiss Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0E4116A400 for ; Fri, 28 Apr 2006 06:49:15 +0000 (UTC) (envelope-from kiss@gizzywump.com) Received: from gizzywump.com (c-67-169-46-145.hsd1.ca.comcast.net [67.169.46.145]) by mx1.FreeBSD.org (Postfix) with SMTP id A207C43D45 for ; Fri, 28 Apr 2006 06:49:15 +0000 (GMT) (envelope-from kiss@gizzywump.com) Received: (qmail 31002 invoked by uid 100); 28 Apr 2006 06:49:14 -0000 Message-Id: <20060428064914.31001.qmail@gizzywump.com> Date: 28 Apr 2006 06:49:14 -0000 From: Richard Kiss To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jonny@jonny.eng.br, him@richardkiss.com Subject: ports/96449: lang/lua update to 5.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Richard Kiss List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 06:50:18 -0000 >Number: 96449 >Category: ports >Synopsis: lang/lua update to 5.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Apr 28 06:50:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Richard Kiss >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD kalamalka.gizzywump.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Sep 21 01:47:57 PDT 2005 root@kalamalka.gizzywump.com:/mnt/usr/obj/mnt/usr/src/sys/GIZZYWUMP i386 >Description: Update to lua 5.1 >How-To-Repeat: NA >Fix: diff -ruN lua/Makefile lua-rk/Makefile --- lua/Makefile Sun Jul 10 04:11:10 2005 +++ lua-rk/Makefile Thu Apr 27 23:33:00 2006 @@ -6,7 +6,7 @@ # PORTNAME= lua -PORTVERSION= 5.0.2 +PORTVERSION= 5.1 PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ \ @@ -19,30 +19,14 @@ MAINTAINER= him@richardkiss.com COMMENT= Small, compilable scripting language providing easy access to C code -USE_REINPLACE= yes MAN1= lua.1 luac.1 -ALL_TARGET= all so -INSTALL_TARGET= install soinstall -INSTALLS_SHLIB= YES -do-configure: - ${REINPLACE_CMD} \ - -e 's|^\(MYCFLAGS=\).*$$|\1 ${CFLAGS}|' \ - -e 's|^\(LOADLIB=\).*$$|\1 -DUSE_DLOPEN=1|' \ - -e 's|^\(CC=\).*$$|\1 ${CC}|' \ - -e 's|^\(STRIP=\).*$$|\1 ${STRIP_CMD}|' \ - -e 's|^\(INSTALL_ROOT=\).*$$|\1 ${PREFIX}|' \ - -e 's|^\(INSTALL_EXEC=\).*$$|\1 ${INSTALL_PROGRAM}|' \ - -e 's|^\(INSTALL_DATA=\).*$$|\1 ${INSTALL_DATA}|' \ - -e 's|^#\(USERCONF.*READLINE.*\)$$|\1|' \ - -e 's|^\(EXTRA_LIBS=\).*$$|\1 -lm -lreadline -lhistory -lncurses|' \ - -e 's|V=5.0|V=5|' \ - ${WRKSRC}/config +MAKE_ARGS=bsd post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} + @cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.css *.gif ${DOCSDIR} .endif .if ${MACHINE_ARCH:L} == "amd64" diff -ruN lua/distinfo lua-rk/distinfo --- lua/distinfo Sun Jan 29 05:00:23 2006 +++ lua-rk/distinfo Thu Apr 27 23:17:28 2006 @@ -1,3 +1,3 @@ -MD5 (lua-5.0.2.tar.gz) = dea74646b7e5c621fef7174df83c34b1 -SHA256 (lua-5.0.2.tar.gz) = a6c85d85f912e1c321723084389d63dee7660b81b8292452b190ea7190dd73bc -SIZE (lua-5.0.2.tar.gz) = 190442 +MD5 (lua-5.1.tar.gz) = 3e8dfe8be00a744cec2f9e766b2f2aee +SHA256 (lua-5.1.tar.gz) = 7f5bb9061eb3b9ba1e406a5aa68001a66cb82bac95748839dc02dd10048472c1 +SIZE (lua-5.1.tar.gz) = 206877 diff -ruN lua/files/patch-ab lua-rk/files/patch-ab --- lua/files/patch-ab Sat May 10 15:29:24 2003 +++ lua-rk/files/patch-ab Thu Apr 27 23:44:54 2006 @@ -1,6 +1,6 @@ ---- src/lib/lmathlib.c.orig Tue Mar 11 21:30:37 2003 -+++ src/lib/lmathlib.c Fri May 9 02:32:59 2003 -@@ -170,7 +170,7 @@ +--- src/lmathlib.c.orig Thu Apr 27 23:42:51 2006 ++++ src/lmathlib.c Thu Apr 27 23:43:27 2006 +@@ -181,7 +181,7 @@ static int math_random (lua_State *L) { /* the `%' avoids the (rare) case of r==1, and is needed also because on some systems (SunOS!) `rand()' may return a value larger than RAND_MAX */ @@ -9,7 +9,7 @@ switch (lua_gettop(L)) { /* check number of arguments */ case 0: { /* no arguments */ lua_pushnumber(L, r); /* Number between 0 and 1 */ -@@ -196,7 +196,7 @@ +@@ -207,7 +207,7 @@ static int math_randomseed (lua_State *L) { diff -ruN lua/files/patch-config lua-rk/files/patch-config --- lua/files/patch-config Tue Jul 5 15:16:13 2005 +++ lua-rk/files/patch-config Wed Dec 31 16:00:00 1969 @@ -1,11 +0,0 @@ ---- config.orig Fri Apr 11 16:00:41 2003 -+++ config Wed Jul 6 00:09:46 2005 -@@ -6,7 +6,7 @@ - LOADLIB= - DLLIB= - NUMBER= --POPEN= -+POPEN= -DUSE_POPEN=1 - TMPNAM= - DEGREES= - USERCONF= diff -ruN lua/pkg-plist lua-rk/pkg-plist --- lua/pkg-plist Thu Apr 1 13:49:20 2004 +++ lua-rk/pkg-plist Thu Apr 27 23:38:10 2006 @@ -1,18 +1,16 @@ -bin/lua -bin/luac -include/lauxlib.h -include/lua.h -include/lualib.h -lib/liblua.a -lib/liblua.so -lib/liblua.so.5 -lib/liblualib.a -lib/liblualib.so -lib/liblualib.so.5 %%DOCSDIR%%/contents.html %%DOCSDIR%%/logo.gif +%%DOCSDIR%%/lua.css %%DOCSDIR%%/lua.html %%DOCSDIR%%/luac.html %%DOCSDIR%%/manual.html %%DOCSDIR%%/readme.html +bin/lua +bin/luac +include/lauxlib.h +include/lua.h +include/lua.hpp +include/luaconf.h +include/lualib.h +lib/liblua.a @dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted: