aboutsummaryrefslogtreecommitdiff
path: root/graphics/lua-gd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-05-26 15:28:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-05-26 15:28:28 +0000
commite836ab008ac38916a93472f2840e03e2e8470ef5 (patch)
tree1485083919fd5b153bf056ea17ac895ea758a8a9 /graphics/lua-gd
parent35d8b48dff5490ff5d7232109c287da637b58811 (diff)
downloadports-e836ab008ac38916a93472f2840e03e2e8470ef5.tar.gz
ports-e836ab008ac38916a93472f2840e03e2e8470ef5.zip
Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1 Make the default lua lua52 Make all lua ports using USES=lua Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=355360
Diffstat (limited to 'graphics/lua-gd')
-rw-r--r--graphics/lua-gd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/lua-gd/Makefile b/graphics/lua-gd/Makefile
index e049d64e09c0..6aa1230d86f2 100644
--- a/graphics/lua-gd/Makefile
+++ b/graphics/lua-gd/Makefile
@@ -16,10 +16,9 @@ LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
OPTIONS_DEFINE= DOCS EXAMPLES
-USE_LUA= 5.1
-
+USES= lua:51
CFLAGS+= -I${LUA_INCDIR} -I${LOCALBASE}/include
-LDFLAGS+= -shared -L${LOCALBASE}/lib -lgd -L${LUA_LIBDIR} -llua -lm
+LDFLAGS+= -shared -L${LOCALBASE}/lib -lgd -L${LUA_LIBDIR} -llua-${LUA_VER} -lm
GDFEATURES= `gdlib-config --features |sed -e "s/GD_/-DGD_/g"`
.include <bsd.port.options.mk>