sources/luafilesystem/luafilesystem-arch.patch
changeset 13 a52a8259d60f
parent 12 faa5eb587542
--- a/sources/luafilesystem/luafilesystem-arch.patch	Fri Dec 21 22:32:34 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-diff -ruN luafilesystem-1.3.0.orig/Makefile luafilesystem-1.3.0/Makefile
---- luafilesystem-1.3.0.orig/Makefile	2007-06-07 03:28:08.000000000 +0200
-+++ luafilesystem-1.3.0/Makefile	2007-10-27 20:36:46.000000000 +0200
-@@ -12,12 +12,12 @@
- lib: src/$(LIBNAME)
- 
- src/$(LIBNAME): $(OBJS)
--	export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
-+	$(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
- 
- install: src/$(LIBNAME)
--	mkdir -p $(LUA_LIBDIR)
--	cp src/$(LIBNAME) $(LUA_LIBDIR)
--	cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
-+	mkdir -p $(DESTDIR)$(LUA_LIBDIR)
-+	cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)
-+	cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
- 
- clean:
- 	rm -f src/$(LIBNAME) $(OBJS)
-diff -ruN luafilesystem-1.3.0.orig/config luafilesystem-1.3.0/config
---- luafilesystem-1.3.0.orig/config	2007-07-31 05:22:55.000000000 +0200
-+++ luafilesystem-1.3.0/config	2007-10-27 20:36:08.000000000 +0200
-@@ -1,8 +1,8 @@
- # Installation directories
- # System's libraries directory (where binary libraries are installed)
--LUA_LIBDIR= /usr/local/lib/lua/5.1
-+LUA_LIBDIR= /usr/lib/lua/5.1
- # Lua includes directory
--LUA_INC= /usr/local/include
-+LUA_INC= /usr/include
- 
- # OS dependent
- LIB_OPTION= -shared #for Linux