Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 15:57:47 -0500 (CDT)
From:      Alexander Botero-Lowry <alex@foxybanana.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        aaron@FreeBSD.org
Subject:   ports/100042: [PATCH] lang/tolua++: update to 1.0.92
Message-ID:  <200607102057.k6AKvlQZ005011@Laptop.mine.box>
Resent-Message-ID: <200607102100.k6AL0YQq098332@freefall.freebsd.org>

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

>Number:         100042
>Category:       ports
>Synopsis:       [PATCH] lang/tolua++: update to 1.0.92
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 10 21:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Botero-Lowry
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Jun 26 23:51:33 CDT 2006
>Description:
- Update to 1.0.92
- Convert to bsd.scons.mk which passes in the correct CCFLAGS making this port
  CFLAGS and LDFLAGS safe

Removed file(s):
- files/patch-config_posix.py

Port maintainer (aaron@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- tolua++-1.0.92.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/tolua++/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	3 May 2006 13:25:06 -0000	1.2
+++ Makefile	10 Jul 2006 20:56:29 -0000
@@ -6,26 +6,19 @@
 #
 
 PORTNAME=	tolua++
-PORTVERSION=	1.0.4
+PORTVERSION=	1.0.92
 CATEGORIES=	lang devel
 MASTER_SITES=	http://www.codenix.com/~tolua/
-DISTNAME=	tolua++-current
 
 MAINTAINER=	aaron@FreeBSD.org
 COMMENT=	An extended version of tolua, a tool to integrate C/C++ code with Lua
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/scons:${PORTSDIR}/devel/scons
 LIB_DEPENDS=	lua:${PORTSDIR}/lang/lua50
 
-WRKSRC=		${WRKDIR}/tolua++-${PORTVERSION}
 USE_BZIP2=	yes
-INSTALLS_SHLIB=	yes
-NO_BUILD=	yes
+USE_LDCONFIG=	yes
+USE_SCONS=	yes
 
-do-build:
-	@cd ${WRKSRC} && scons
-
-do-install:
-	@cd ${WRKSRC} && scons prefix=${PREFIX} install
+SCONS_ARGS=	prefix=${PREFIX}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/lang/tolua++/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	22 Jan 2006 23:42:31 -0000	1.1
+++ distinfo	10 Jul 2006 20:56:29 -0000
@@ -1,3 +1,3 @@
-MD5 (tolua++-current.tar.bz2) = 8785100f7c9d9253cb47b530d97a32f6
-SHA256 (tolua++-current.tar.bz2) = 557d8efd248ca3a9bdb3ed221abd4be2b71010d9463983ec804e20b4b888638c
-SIZE (tolua++-current.tar.bz2) = 171870
+MD5 (tolua++-1.0.92.tar.bz2) = f4682e065b7d6d4de5eec13e6b7d347c
+SHA256 (tolua++-1.0.92.tar.bz2) = fd2199f669d7d7c11f5451001ee1601add263203b2522363b3632411437e4fac
+SIZE (tolua++-1.0.92.tar.bz2) = 153961
Index: files/patch-config_posix.py
===================================================================
RCS file: files/patch-config_posix.py
diff -N files/patch-config_posix.py
--- files/patch-config_posix.py	22 Jan 2006 23:42:31 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
---- config_posix.py.orig	Thu Jan 20 20:01:08 2005
-+++ config_posix.py	Wed Jan 18 11:05:32 2006
-@@ -5,7 +5,7 @@
- 
- # flags for the compiler
- #CCFLAGS = []
--CCFLAGS = ['-O2', '-ansi', '-Wall']
-+CCFLAGS = ['-O2', '-ansi', '-Wall', '-I/usr/local/include']
- 
- # this is the default directory for installation. Files will be installed on
- # <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install'
-@@ -17,5 +17,5 @@
- 
- # libraries
- LIBS = ['lua', 'lualib', 'm']
--
-+LINKFLAGS = ['-L/usr/local/lib']
- 
--- tolua++-1.0.92.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?200607102057.k6AKvlQZ005011>