[geany/geany-plugins] e1f2b6: Re-order Lua package names for lookup

Enrico Tröger git-noreply at geany.org
Fri Dec 28 14:06:32 UTC 2012


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Fri, 28 Dec 2012 14:06:32 UTC
Commit:      e1f2b6a31b1699430435d52f45e461889febef88
             https://github.com/geany/geany-plugins/commit/e1f2b6a31b1699430435d52f45e461889febef88

Log Message:
-----------
Re-order Lua package names for lookup

Now we use the same order as the autotools based build and
look for most specific version first (5.1). This fixes the build on
distros like ArchLinux where the package "lua" is Lua 5.2.


Modified Paths:
--------------
    geanylua/wscript_configure

Modified: geanylua/wscript_configure
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -23,7 +23,7 @@
 from waflib.Errors import ConfigurationError
 from build.wafutils import check_cfg_cached
 
-package_names = ['lua', 'lua5.1', 'lua51', 'lua-5.1']
+package_names = ['lua5.1', 'lua51', 'lua-5.1', 'lua']
 
 def try_to_find_lua_package():
     # try various package names as distributions like to use different ones



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).


More information about the Plugins-Commits mailing list