summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/lua-gd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/lua-gd/Makefile b/graphics/lua-gd/Makefile
index 06d824a010ea..19bd92e1d107 100644
--- a/graphics/lua-gd/Makefile
+++ b/graphics/lua-gd/Makefile
@@ -35,7 +35,7 @@ LUA_MODLIBDIR= ${PREFIX}/lib/lua/${LUA_VER}
do-install:
${MKDIR} ${LUA_MODLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/gd.so ${LUA_MODLIBDIR}
- lua-5.1 ${WRKSRC}/test_features.lua
+ ${LUA_CMD} ${WRKSRC}/test_features.lua
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc/ && ${INSTALL_DATA} * ${DOCSDIR}/