Commit 8764f0da authored by Natanael Copa's avatar Natanael Copa

main/lua: disable readline

parent 8b2e1324
......@@ -2,18 +2,19 @@
pkgname=lua
pkgver=5.1.4_p3
_ver=${pkgver%_p*}
pkgrel=0
pkgrel=1
pkgdesc="A powerful light-weight programming language designed for extending applications."
url="http://www.lua.org/"
arch="all"
license="MIT"
depends=
makedepends="readline-dev libtool"
makedepends="libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.$pkgname.org/ftp/$pkgname-$_ver.tar.gz
http://www.lua.org/ftp/patch-lua-5.1.4-${pkgver#*_p}
lua-5.1-make.patch
lua-5.1-module_paths.patch
lua-5.1-readline.patch
"
_builddir="$srcdir"/lua-$_ver
......@@ -38,7 +39,6 @@ build ()
cd src
make CFLAGS=" -DLUA_USE_LINUX $CFLAGS" \
RPATH="/usr/lib" \
LUA_LIBS="-lreadline" \
LIB_LIBS="-lpthread -lm -ldl" \
V=$pkgver \
gentoo_all || return 1
......@@ -56,4 +56,5 @@ package() {
md5sums="d0870f2de55d59c1c8419f36e8fac150 lua-5.1.4.tar.gz
998ef7886183f61d3a5ca891a9ce6a79 patch-lua-5.1.4-3
0145ff6036eb6bfdab427dc8f0c3f3c0 lua-5.1-make.patch
e60ef15deefb72a5930c498f1184aced lua-5.1-module_paths.patch"
e60ef15deefb72a5930c498f1184aced lua-5.1-module_paths.patch
f2205b897edb31292a1f597a7fd638cb lua-5.1-readline.patch"
--- lua-5.1.1.orig/src/luaconf.h 2006-04-10 20:27:23.000000000 +0200
+++ lua-5.1.1/src/luaconf.h 2006-11-15 14:53:07.000000000 +0100
@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment