aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2010-09-21 23:38:18 +0800
committergarga <garga@FreeBSD.org>2010-09-21 23:38:18 +0800
commit522e040d0da38f10d0aff67375704763f6c2431b (patch)
tree6a4f0f7893725e4acdf992bd764d3e49dd1c5301 /lang
parentbedd30614123f39552bed21dc4ecf011c207b498 (diff)
downloadfreebsd-ports-gnome-522e040d0da38f10d0aff67375704763f6c2431b.tar.gz
freebsd-ports-gnome-522e040d0da38f10d0aff67375704763f6c2431b.tar.zst
freebsd-ports-gnome-522e040d0da38f10d0aff67375704763f6c2431b.zip
After some mistakes i made on this port last days, i hop^W believe this is the
last commit. The original problem is port was broken on amd64 when you have CFLAGS= defined on make.conf. On last commit i thought it was fixed, but no, i don't know why but it was building without define LUA_USE_LINUX and the binary generated was wrong. I figured out just using GMAKE fixes everything, it respect CFLAGS= when you have, add -fPIC for amd64 and use correct defines for building, so, lets use gmake to build this port for now. Pointyhats to: garga@
Diffstat (limited to 'lang')
-rw-r--r--lang/lua/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index c32b9a89ee52..1747705c0ecc 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lua
PORTVERSION= 5.1.4
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang
MASTER_SITES= http://www.lua.org/ftp/ \
ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
@@ -30,7 +30,7 @@ USE_GNOME= pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
MAKE_ENV= LUA_SONAME="liblua-${LUA_VER}.so.${LUA_VER_SH}"
-MAKE_ARGS= CFLAGS="${CFLAGS}"
+USE_GMAKE= yes
MAN1= lua-${LUA_VER}.1 luac-${LUA_VER}.1
DOCSDIR= ${PREFIX}/share/doc/${LUA_SUBDIR}