Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 19:28:34 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475849 - head/devel/lua-lpeg
Message-ID:  <201807291928.w6TJSYPO063955@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jul 29 19:28:34 2018
New Revision: 475849
URL: https://svnweb.freebsd.org/changeset/ports/475849

Log:
  Remove incorrect CFLAGS
  
  - Install re.lua
  - Bump PORTREVISION for package change
  
  PR:		229866
  Submitted by:	Andrew Gierth <andrew@tao11.riddles.org.uk>

Modified:
  head/devel/lua-lpeg/Makefile

Modified: head/devel/lua-lpeg/Makefile
==============================================================================
--- head/devel/lua-lpeg/Makefile	Sun Jul 29 19:28:29 2018	(r475848)
+++ head/devel/lua-lpeg/Makefile	Sun Jul 29 19:28:34 2018	(r475849)
@@ -2,6 +2,7 @@
 
 PORTNAME=	lpeg
 PORTVERSION=	1.0.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.inf.puc-rio.br/~roberto/lpeg/ \
 		LOCAL/sunpoet
@@ -13,15 +14,16 @@ COMMENT=	PEG-based pattern-matching library for Lua
 LICENSE=	MIT
 
 ALL_TARGET=	linux
-CFLAGS+=	-DLUA_32BITS
 MAKE_ARGS=	CC=${CC} LUADIR=${LUA_INCDIR}
 MAKEFILE=	${WRKSRC}/makefile
 USES?=		lua
 
-PLIST_FILES=	${LUA_MODLIBDIR}/lpeg.so
+PLIST_FILES=	${LUA_MODLIBDIR}/lpeg.so \
+		${LUA_MODSHAREDIR}/re.lua
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
+	@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
 	${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${STAGEDIR}${LUA_MODLIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/re.lua ${STAGEDIR}${LUA_MODSHAREDIR}
 
 .include <bsd.port.mk>



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