From 7735c1af79ebdd8475014d7e46ae390935fbd6ca Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 8 Dec 2010 10:16:08 +0100 Subject: [PATCH] lua-yajl: fixed to install the module into the right directory (see note) Note: By default the 'yajl.so' gets installed into '$prefix/share/lua/cmod' which is not the default installation path for lua modules, so we changed it to the right path which is stored inside of the $lualibdir variable if the package is flagged 'LUA'! --- lua/lua-yajl/lua-yajl.conf | 3 +++ lua/lua-yajl/lua-yajl.desc | 1 + 2 files changed, 4 insertions(+) diff --git a/lua/lua-yajl/lua-yajl.conf b/lua/lua-yajl/lua-yajl.conf index c8659a437..494b133af 100644 --- a/lua/lua-yajl/lua-yajl.conf +++ b/lua/lua-yajl/lua-yajl.conf @@ -12,4 +12,7 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +# install the lua module into the right directory +var_append cmakeopt ' ' "-DINSTALL_CMOD=$lualibdir" + makeinstopt="install" diff --git a/lua/lua-yajl/lua-yajl.desc b/lua/lua-yajl/lua-yajl.desc index 725408ea8..15ce05bfd 100644 --- a/lua/lua-yajl/lua-yajl.desc +++ b/lua/lua-yajl/lua-yajl.desc @@ -22,6 +22,7 @@ [M] The OpenSDE Community [C] extra/development +[F] LUA [L] MIT [S] Stable