ports/123167: [patch] update lang/tolua to version 5.1
Edwin Groothuis
edwin at mavetju.org
Mon Apr 28 11:10:02 UTC 2008
>Number: 123167
>Category: ports
>Synopsis: [patch] update lang/tolua to version 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: Mon Apr 28 11:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Edwin Groothuis
>Release: FreeBSD 6.3-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Sun Feb 17 22:11:52 EST 2008 edwin at k7.mavetju:/usr/src/sys/i386/compile/SMP i386
>Description:
After the repocopy of lang/lua to lang/lua50...
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/tolua/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 16 Sep 2006 22:01:36 -0000 1.5
+++ Makefile 28 Apr 2008 11:01:22 -0000
@@ -7,8 +7,7 @@
#
PORTNAME= tolua
-PORTVERSION= 5.0.1
-PORTREVISION= 1
+PORTVERSION= 5.1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ \
http://www.tecgraf.puc-rio.br/~celes/tolua/
@@ -17,8 +16,10 @@
COMMENT= toLua: accessing C/C++ code from Lua
USE_GMAKE= yes
-USE_LUA= 5.0
-WRKSRC= ${WRKDIR}/${PORTNAME}-5.0
+USE_LUA= 5.1
+
+post-extract:
+ ${RM} ${WRKSRC}/src/bin/tolua_lua.o
post-patch:
@${REINPLACE_CMD} -e 's|make|$${MAKE}|' ${WRKSRC}/${MAKEFILE}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/lang/tolua/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 8 Nov 2005 21:45:45 -0000 1.2
+++ distinfo 28 Apr 2008 11:01:22 -0000
@@ -1,3 +1,3 @@
-MD5 (tolua-5.0.1.tar.gz) = da18137d4583880ae474f1e632fcbdc2
-SHA256 (tolua-5.0.1.tar.gz) = a5cc355ecd84c2f8f22588eec41dd047ebe9bad89706c046bcbff4a2e1f7cecb
-SIZE (tolua-5.0.1.tar.gz) = 88676
+MD5 (tolua-5.1.tar.gz) = 0d515fcc81afae02fabcba4e91095f3e
+SHA256 (tolua-5.1.tar.gz) = 0f8a67f35e40584cb9bc6db4171f22846597687c9cf83250cde634d8264dfab3
+SIZE (tolua-5.1.tar.gz) = 190728
Index: files/patch-src::tests::Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/tolua/files/patch-src::tests::Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-src::tests::Makefile
--- files/patch-src::tests::Makefile 21 Nov 2004 08:32:23 -0000 1.1
+++ files/patch-src::tests::Makefile 28 Apr 2008 11:01:23 -0000
@@ -1,27 +1,11 @@
---- src/tests/Makefile.orig Wed Feb 11 23:01:58 2004
-+++ src/tests/Makefile Sun Nov 21 19:17:49 2004
+--- src/tests/Makefile.orig 2008-04-28 10:57:25.000000000 +0000
++++ src/tests/Makefile 2008-04-28 10:59:05.000000000 +0000
@@ -4,7 +4,7 @@
include $(TOLUA)/config
--LIBS = -ltolua -llua -llualib
-+LIBS = -ltolua -llua -llualib -lm
+-LIBS = -ltolua -llua
++LIBS = -ltolua -llua -lm
- all: tmodule tnamespace tclass tconstant tvariable tfunction tarray tdirective
- ./tmodule; ./tnamespace; ./tclass; ./tconstant; ./tvariable; ./tfunction; ./tarray; ./tdirective;
-@@ -25,7 +25,7 @@
- $(TOLUA)/bin/tolua -o $@ $<
-
- tnamespace: tnamespace.o tnamespacebind.o
-- $(CC) $(CPPFLAGS) -o $@ tnamespace.o tnamespacebind.o $(TLIB) $(LIB) $(LIBS)
-+ $(CC) $(CPPFLAGS) -Iedwin -o $@ tnamespace.o tnamespacebind.o $(TLIB) $(LIB) $(LIBS)
- tnamespacebind.cpp: tnamespace.pkg
- $(TOLUA)/bin/tolua -o $@ $<
-
-@@ -61,6 +61,3 @@
-
- klean:
- rm -f tmodule tnamespace tclass tconstant tvariable tfunction tarray tdirective
--
--
--
+ all: tmodule tnamespace tclass tinheritance tconstant tvariable tfunction tarray tdirective tenum
+ ./tmodule; ./tnamespace; ./tclass; ./tinheritance; ./tconstant; ./tvariable; ./tfunction; ./tarray; ./tdirective; ./tfunction; ./tenum
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list