SPECS: lua51.spec - fix loading binary modules on non-32-bit systems

lkrotowski lkrotowski at pld-linux.org
Sun Oct 26 11:28:16 CET 2008


Author: lkrotowski                   Date: Sun Oct 26 10:28:16 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix loading binary modules on non-32-bit systems

---- Files affected:
SPECS:
   lua51.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/lua51.spec
diff -u SPECS/lua51.spec:1.8 SPECS/lua51.spec:1.9
--- SPECS/lua51.spec:1.8	Mon Sep 15 20:57:17 2008
+++ SPECS/lua51.spec	Sun Oct 26 11:28:10 2008
@@ -100,6 +100,7 @@
 %setup -q -n lua-%{version}
 %patch0 -p1
 sed -r -i 's|(#define LUA_ROOT.*)%{_prefix}/local/|\1%{_prefix}/|g' src/luaconf.h
+sed -r -i 's|(#define LUA_CDIR.*)lib/|\1%{_lib}/|g' src/luaconf.h
 
 %build
 %if %{with luastatic}
@@ -206,6 +207,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008/10/26 10:28:10  lkrotowski
+- fix loading binary modules on non-32-bit systems
+
 Revision 1.8  2008/09/15 18:57:17  uzsolt
 - change LUA_ROOT /usr/local to /usr, so can use various lua-moduls from packages
 - release 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lua51.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list