summaryrefslogtreecommitdiff
path: root/lang/lua
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2015-02-01 11:21:23 +0000
committerobache <obache@pkgsrc.org>2015-02-01 11:21:23 +0000
commit7619bc9a9675541629ae7a79719caba2461df2f0 (patch)
tree41894db98f4750038be4e2590923c00c30ab9586 /lang/lua
parent1f3062eb88049e095f9f0700dfcee58ef65cc7cf (diff)
downloadpkgsrc-7619bc9a9675541629ae7a79719caba2461df2f0.tar.gz
revert "Auto detect lua version from required package name.",
proposed/discussed is required for such changes.
Diffstat (limited to 'lang/lua')
-rw-r--r--lang/lua/luaversion.mk12
1 files changed, 1 insertions, 11 deletions
diff --git a/lang/lua/luaversion.mk b/lang/lua/luaversion.mk
index 3f822c6928f..1398a578b15 100644
--- a/lang/lua/luaversion.mk
+++ b/lang/lua/luaversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: luaversion.mk,v 1.7 2015/01/17 17:54:59 alnsn Exp $
+# $NetBSD: luaversion.mk,v 1.8 2015/02/01 11:21:23 obache Exp $
# This file determins which Lua version is used as a dependency for
# a package.
@@ -64,16 +64,6 @@
.if !defined (LUA_LUAVERSION_MK)
LUA_LUAVERSION_MK= # defined
-# derive a Lua version from the package name if possible
-# optionally handled quoted package names
-.if defined(PKGNAME_REQD) && !empty(PKGNAME_REQD:Mlua[0-9][0-9]-*) || \
- defined(PKGNAME_REQD) && !empty(PKGNAME_REQD:M*-lua[0-9][0-9]-*)
-LUA_VERSION_REQD?= ${PKGNAME_REQD:C/(^.*-|^)lua([0-9][0-9])-.*/\2/}
-.elif defined(PKGNAME_OLD) && !empty(PKGNAME_OLD:Mlua[0-9][0-9]-*) || \
- defined(PKGNAME_OLD) && !empty(PKGNAME_OLD:M*-lua[0-9][0-9]-*)
-LUA_VERSION_REQD?= ${PKGNAME_OLD:C/(^.*-|^)lua([0-9][0-9])-.*/\2/}
-.endif
-
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= LUA_VERSION_DEFAULT