diff options
Diffstat (limited to 'lua-5.1.2-multilib.patch')
| -rw-r--r-- | lua-5.1.2-multilib.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lua-5.1.2-multilib.patch b/lua-5.1.2-multilib.patch deleted file mode 100644 index 77092d2..0000000 --- a/lua-5.1.2-multilib.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -up lua-5.1.2/src/luaconf.h.template.in~ lua-5.1.2/src/luaconf.h.template.in ---- lua-5.1.2/src/luaconf.h.template.in~ 2007-10-21 19:33:30.000000000 +0200 -+++ lua-5.1.2/src/luaconf.h.template.in 2007-10-21 19:33:30.000000000 +0200 -@@ -98,7 +98,12 @@ - - /** autotools-patch **/ - #define LUA_LDIR "%lua_datadir%/lua/5.1/" --#define LUA_CDIR "%lua_libdir%/lua/5.1/" -+#if defined __alpha__ || defined __ia64__ || defined __powerpc64__ || \ -+ defined __s390x__ || defined __sparc64__ || defined __x86_64__ -+#define LUA_CDIR "/usr/lib64/lua/5.1/" -+#else -+#define LUA_CDIR "/usr/lib/lua/5.1/" -+#endif - /** autotools-patch **/ - - #define LUA_PATH_DEFAULT \ -diff -up lua-5.1.2/etc/lua.pc.in~ lua-5.1.2/etc/lua.pc.in ---- lua-5.1.2/etc/lua.pc.in~ 2007-11-26 09:35:47.000000000 +0100 -+++ lua-5.1.2/etc/lua.pc.in 2007-11-26 09:35:47.000000000 +0100 -@@ -2,12 +2,12 @@ V= 5.1 - R= 5.1.2 - prefix= @prefix@ - exec_prefix=${prefix} --libdir=${exec_prefix}/lib -+libdir= @libdir@ - includedir=${prefix}/include - - Name: Lua - Description: An Extensible Extension Language - Version: ${R} - Requires: --Libs: -L${libdir} -llua @LUA_LIBS@ -+Libs: -llua @LUA_LIBS@ - Cflags: -I${includedir} |
