diff options
author | Renato Botelho <garga@FreeBSD.org> | 2010-08-16 12:29:21 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2010-08-16 12:29:21 +0000 |
commit | b35856bf03b9c1708c9984c1a92261974888a8c9 (patch) | |
tree | 78796921e5eded72ed116eaa0cdd6740789ea54c /lang/lua | |
parent | Fix dependency (diff) |
- Make LUA_ROOT respect PREFIX
- Bump PORTREVISION
PR: ports/149706
Submitted by: Anonymous <swell.k@gmail.com>
Notes
Notes:
svn path=/head/; revision=259349
Diffstat (limited to 'lang/lua')
-rw-r--r-- | lang/lua/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile index ea9fd1bb9971..418f7af7f7ee 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -7,6 +7,7 @@ PORTNAME= lua PORTVERSION= 5.1.4 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ \ ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \ @@ -60,6 +61,8 @@ post-patch: ${WRKSRC}/etc/lua.pc @${REINPLACE_CMD} -e 's,rand *(,random(,g' \ ${WRKSRC}/src/lmathlib.c + @${REINPLACE_CMD} -e '/LUA_ROOT/s|/usr/local|${PREFIX}|' \ + ${WRKSRC}/src/luaconf.h post-build: @${RM} -f ${WRKSRC}/test/lua ${WRKSRC}/test/luac |