gplugin/gplugin

Merged in freebsd-tweaks (pull request #25)
develop
2019-07-19, Gary Kramlich
0db134500cad
Merged in freebsd-tweaks (pull request #25)

Freebsd only has lgi for lua 5.2, but it's .pc file is named lua-5.2.pc so this checks that one too

Approved-by: Elliott Sales de Andrade
--- a/lua/meson.build Thu Jul 18 01:13:19 2019 +0000
+++ b/lua/meson.build Fri Jul 19 21:15:34 2019 +0000
@@ -17,7 +17,8 @@
_LUAS = [['lua', '>=5.1.0'],
['lua5.1', '>=5.1.0'],
['luajit', '>=2.0.0'],
- ['lua5.2', '>=5.2.0']]
+ ['lua5.2', '>=5.2.0'],
+ ['lua-5.2', '>=5.2.0']]
LUA_FOUND = false
foreach _LUA : _LUAS
if not LUA_FOUND