Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2013 08:27:46 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324265 - head/lang/tolua4
Message-ID:  <201308050827.r758RkQt002829@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Mon Aug  5 08:27:46 2013
New Revision: 324265
URL: http://svnweb.freebsd.org/changeset/ports/324265

Log:
  - Unbreak parallel (-jX) builds by calling submakes correctly
  - Improve on COMMENT, remove author attribution from pkg-descr
  - Do not explicitly set DISTNAME, b.p.m. derives it just fine

Modified:
  head/lang/tolua4/Makefile
  head/lang/tolua4/pkg-descr

Modified: head/lang/tolua4/Makefile
==============================================================================
--- head/lang/tolua4/Makefile	Mon Aug  5 07:50:56 2013	(r324264)
+++ head/lang/tolua4/Makefile	Mon Aug  5 08:27:46 2013	(r324265)
@@ -7,15 +7,13 @@ PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ \
 		http://www.tecgraf.puc-rio.br/~celes/tolua/
-DISTNAME=	tolua-4.0a
 
 MAINTAINER=	edwin@mavetju.org
-COMMENT=	toLua: accessing C/C++ code from Lua
+COMMENT=	Tool for easy access of C/C++ code from Lua
 
 USES=		gmake
-MAKE_JOBS_UNSAFE=	yes
 USE_LUA=	4.0
-WRKSRC=		${WRKDIR}/tolua
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
 LATEST_LINK=	${PORTNAME}${LUA_VER_STR}
 
@@ -26,6 +24,8 @@ post-patch:
 		 s|^(LUA(INC\|LIB)=.*)|\1/lua${LUA_VER_STR}|; \
 		 s|^(CFLAGS)(=.*)|\1+\2|;' \
 		${WRKSRC}/config
+	@${REINPLACE_CMD} -E 's|cd (.+); make|$$(MAKE) -C \1|' \
+		${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${LUA_BINDIR}

Modified: head/lang/tolua4/pkg-descr
==============================================================================
--- head/lang/tolua4/pkg-descr	Mon Aug  5 07:50:56 2013	(r324264)
+++ head/lang/tolua4/pkg-descr	Mon Aug  5 08:27:46 2013	(r324265)
@@ -6,5 +6,4 @@ maps C/C++ constants, external variables
 classes, and methods to Lua. It also provides facilities to create
 Lua modules.
 
-Author: Waldemar Celes <celes@tecgraf.puc-rio.br>
 WWW: http://www.tecgraf.puc-rio.br/~celes/tolua/



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