OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 17-Jun-2006 22:46:12 Branch: HEAD Handle: 2006061721461100 Added files: openpkg-src/lua lua.patch Modified files: openpkg-src/lua lua.spec Log: remove readline dependency under Linux Summary: Revision Changes Path 1.1 +23 -0 openpkg-src/lua/lua.patch 1.15 +3 -1 openpkg-src/lua/lua.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/lua/lua.patch ============================================================================ $ cvs diff -u -r0 -r1.1 lua.patch --- /dev/null 2006-06-17 22:46:05 +0200 +++ lua.patch 2006-06-17 22:46:12 +0200 @@ -0,0 +1,23 @@ +Index: src/Makefile +--- src/Makefile.orig 2006-03-22 01:41:49 +0100 ++++ src/Makefile 2006-06-17 22:42:28 +0200 +@@ -92,7 +92,7 @@ + $(MAKE) all MYCFLAGS= + + linux: +- $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" ++ $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl" + + macosx: + $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX +Index: src/luaconf.h +--- src/luaconf.h.orig 2006-04-10 20:27:23 +0200 ++++ src/luaconf.h 2006-06-17 22:42:15 +0200 +@@ -36,7 +36,6 @@ + #if defined(LUA_USE_LINUX) + #define LUA_USE_POSIX + #define LUA_USE_DLOPEN /* needs an extra library: -ldl */ +-#define LUA_USE_READLINE /* needs some extra libraries */ + #endif + + #if defined(LUA_USE_MACOSX) @@ . patch -p0 <<'@@ .' Index: openpkg-src/lua/lua.spec ============================================================================ $ cvs diff -u -r1.14 -r1.15 lua.spec --- openpkg-src/lua/lua.spec 10 Jun 2006 07:52:21 -0000 1.14 +++ openpkg-src/lua/lua.spec 17 Jun 2006 20:46:11 -0000 1.15 @@ -33,10 +33,11 @@ Group: Language License: MIT Version: 5.1.1 -Release: 20060610 +Release: 20060617 # list of sources Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz +Patch0: lua.patch # build information Prefix: %{l_prefix} @@ -65,6 +66,7 @@ %prep %setup -q + %patch -p0 %build platform="posix" @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org