Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2006 21:51:14 GMT
From:      Andrew Turner<andrew+ports@fubar.geek.nz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104990: Maintainer update: devel/lua50-posix
Message-ID:  <200610312151.k9VLpEEw073119@www.freebsd.org>
Resent-Message-ID: <200610312200.k9VM0jbv000168@freefall.freebsd.org>

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

>Number:         104990
>Category:       ports
>Synopsis:       Maintainer update: devel/lua50-posix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 31 22:00:45 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Turner
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD hermies.int.fubar.geek.nz 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Sat Sep 23 07:25:49 NZST 2006 root@hermies.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_6/sys/GENERIC i386
>Description:
Update the devel/lua50-posix port to support both lua 5.0 and 5.1.
The attached patch adds a new port, devel/lua-posix. This is becomes a master port while the devel/lua50-posix port is the slave.
>How-To-Repeat:

>Fix:
Repo-copy devel/lua50-posix to devel/lua-posix and apply the attached patch

Patch attached with submission follows:

Index: devel/lua-posix/Makefile
===================================================================
RCS file: /cvsroot/ports/devel/lua50-posix/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- devel/lua-posix/Makefile	15 Sep 2006 08:17:06 -0000	1.4
+++ devel/lua-posix/Makefile	16 Sep 2006 11:29:37 -0000
@@ -15,7 +15,7 @@
 MAINTAINER=	andrew+ports@fubar.geek.nz
 COMMENT=	A POSIX layer for Lua
 
-USE_LUA=	5.0
+USE_LUA?=	5.1
 WRKSRC=		${WRKDIR}/posix
 
 PLIST_FILES=	%%LUA_MODSHAREDIR%%/posix.lua \
Index: devel/lua50-posix/Makefile
===================================================================
RCS file: /cvsroot/ports/devel/lua50-posix/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- devel/lua50-posix/Makefile	15 Sep 2006 08:17:06 -0000	1.4
+++ devel/lua50-posix/Makefile	16 Sep 2006 11:21:41 -0000
@@ -5,24 +5,8 @@
 # $FreeBSD: ports/devel/lua50-posix/Makefile,v 1.4 2006/09/15 08:17:06 linimon Exp $
 #
 
-PORTNAME=	posix
-PORTVERSION=	5.0
-CATEGORIES=	devel
-MASTER_SITES=	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.0/
-PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
-DISTFILES=	lposix.tar.gz
-
-MAINTAINER=	andrew+ports@fubar.geek.nz
-COMMENT=	A POSIX layer for Lua
-
 USE_LUA=	5.0
-WRKSRC=		${WRKDIR}/posix
-
-PLIST_FILES=	%%LUA_MODSHAREDIR%%/posix.lua \
-		%%LUA_MODLIBDIR%%/lposix.so
 
-do-install:
-	@${INSTALL_DATA} ${WRKSRC}/posix.lua ${LUA_MODSHAREDIR}
-	@${INSTALL_PROGRAM} ${WRKSRC}/lposix.so ${LUA_MODLIBDIR}
+MASTERDIR=	${.CURDIR}/../lua-posix
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

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



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