aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2010-08-16 20:29:21 +0800
committergarga <garga@FreeBSD.org>2010-08-16 20:29:21 +0800
commite721d88bb6e3d3dd9a912b7877b0b141b3ab2a9e (patch)
treef7e42c562c6ecf8c2bbd42ad72eddeb70958348d /lang
parentfe3baa80cc5e153bb2eaaefe887338b5eca5c015 (diff)
downloadfreebsd-ports-gnome-e721d88bb6e3d3dd9a912b7877b0b141b3ab2a9e.tar.gz
freebsd-ports-gnome-e721d88bb6e3d3dd9a912b7877b0b141b3ab2a9e.tar.zst
freebsd-ports-gnome-e721d88bb6e3d3dd9a912b7877b0b141b3ab2a9e.zip
- Make LUA_ROOT respect PREFIX
- Bump PORTREVISION PR: ports/149706 Submitted by: Anonymous <swell.k@gmail.com>
Diffstat (limited to 'lang')
-rw-r--r--lang/lua/Makefile3
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