]> git.pld-linux.org Git - packages/ntop.git/blame - ntop-lua_wget.patch
- fix shebang, drop obsolete BRs, release 7
[packages/ntop.git] / ntop-lua_wget.patch
CommitLineData
a62aca02 1--- ntop-4.0/misc/configure.in.lua~ 2009-08-11 10:24:46.000000000 +0200
2+++ ntop-4.0/misc/configure.in.lua 2010-07-20 09:04:41.581951627 +0200
3@@ -1,21 +1,4 @@
abadc7c1
ER
4-dnl>
5-dnl> Lua - http://www.lua.org
6-dnl>
7-LUA_VERSION=lua-5.1.4
8-if test -f "$LUA_VERSION.tar.gz"; then
9- echo "Lua already present on this machine"
10-else
11- wget http://www.lua.org/ftp/$LUA_VERSION.tar.gz
12-fi
13-
14-tar xvfz $LUA_VERSION.tar.gz
15-cat $LUA_VERSION/src/Makefile | sed -e s,'MYCFLAGS=-DLUA_USE_POSIX',' MYCFLAGS="-fPIC -DLUA_USE_POSIX"',g > /tmp/lua.temp
16-cat /tmp/lua.temp > $LUA_VERSION/src/Makefile
17-#rm -f /tmp/lua.temp
18-cd $LUA_VERSION; make posix; cd ..
19-
20-LUA_LIB_DIR=$PWD/$LUA_VERSION"/src"
21-LIBS="-L${LUA_LIB_DIR} -llua ${LIBS} "
22-INCS="${INCS} -I${LUA_LIB_DIR}"
23+LIBS="-llua51 ${LIBS} "
24+INCS="${INCS} -I/usr/include/lua51"
25 AC_DEFINE_UNQUOTED(HAVE_LUA, 1, [LUA is supported])
26
This page took 0.039087 seconds and 4 git commands to generate.