1 --- Makefile.orig 2009-12-19 14:54:45.000000000 -0500
2 +++ Makefile 2009-12-19 14:57:22.000000000 -0500
4 # Inform the location to intall the modules
5 -LUAPATH=/usr/local/share/lua/5.1
6 -LUACPATH=/usr/local/lib/lua/5.1
7 +LUAPATH=/usr/share/lua/5.1
8 +LUACPATH=/usr/lib/lua/5.1
10 # Edit the lines below to inform new path, if necessary
12 -#INCDIR=-I/usr/local/lua-5.1/include -I/usr/local/openssl-0.9.8/include
13 -#LIBDIR=-L/usr/local/openssl-0.9.8/lib -R/usr/local/openssl-0.9.8/lib
14 +INCDIR=-I/usr/include -I/usr/include/openssl
17 # For Mac OS X: set the system version
23 - @cd src ; $(MAKE) LUACPATH="$(LUACPATH)" LUAPATH="$(LUAPATH)" install
24 + @cd src ; $(MAKE) LUACPATH="$(DESTDIR)$(LUACPATH)" LUAPATH="$(DESTDIR)$(LUAPATH)" install
27 @echo "---------------------"