summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2022-01-04 11:01:42 +0000
committerryoon <ryoon@pkgsrc.org>2022-01-04 11:01:42 +0000
commit9a598f03a43f06cbed7b7dc5b0b01de6b1ed1784 (patch)
treed99b936cc4e12e6935eda0c31f365a78ba8c9d1d /games
parent66e54d1e1c0e582e8885a76d36894ebdfe0f26cd (diff)
downloadpkgsrc-9a598f03a43f06cbed7b7dc5b0b01de6b1ed1784.tar.gz
love11: Enable the other versions of Lua
Diffstat (limited to 'games')
-rw-r--r--games/love11/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/love11/options.mk b/games/love11/options.mk
index 7fd886705b5..21ade7049f6 100644
--- a/games/love11/options.mk
+++ b/games/love11/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2020/11/06 12:15:54 nia Exp $
+# $NetBSD: options.mk,v 1.3 2022/01/04 11:01:42 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.love
PKG_SUPPORTED_OPTIONS= luajit
@@ -14,6 +14,6 @@ PKG_SUGGESTED_OPTIONS= luajit
. include "../../lang/LuaJIT2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-lua=lua
-CONFIGURE_ARGS+= --with-luaversion=-5.1
-. include "../../lang/lua51/buildlink3.mk"
+CONFIGURE_ARGS+= --with-luaversion=-${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
+. include "../../lang/lua/buildlink3.mk"
.endif