updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / luasec-hg / luasec.patch
blob7b0c9d6cc24edac71238db792e33dd1cecd4caaa
1 --- Makefile.orig 2009-12-19 14:54:45.000000000 -0500
2 +++ Makefile 2009-12-19 14:57:22.000000000 -0500
3 @@ -1,11 +1,11 @@
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
15 +LIBDIR=-L/usr/lib
17 # For Mac OS X: set the system version
18 MACOSX_VERSION=10.4
19 @@ -26,7 +26,7 @@
20 @echo " * macosx"
22 install:
23 - @cd src ; $(MAKE) LUACPATH="$(LUACPATH)" LUAPATH="$(LUAPATH)" install
24 + @cd src ; $(MAKE) LUACPATH="$(DESTDIR)$(LUACPATH)" LUAPATH="$(DESTDIR)$(LUAPATH)" install
26 linux:
27 @echo "---------------------"