sources/luafilesystem/luafilesystem-arch.patch
changeset 13 a52a8259d60f
parent 12 faa5eb587542
equal deleted inserted replaced
12:faa5eb587542 13:a52a8259d60f
     1 diff -ruN luafilesystem-1.3.0.orig/Makefile luafilesystem-1.3.0/Makefile
       
     2 --- luafilesystem-1.3.0.orig/Makefile	2007-06-07 03:28:08.000000000 +0200
       
     3 +++ luafilesystem-1.3.0/Makefile	2007-10-27 20:36:46.000000000 +0200
       
     4 @@ -12,12 +12,12 @@
       
     5  lib: src/$(LIBNAME)
       
     6  
       
     7  src/$(LIBNAME): $(OBJS)
       
     8 -	export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
       
     9 +	$(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
       
    10  
       
    11  install: src/$(LIBNAME)
       
    12 -	mkdir -p $(LUA_LIBDIR)
       
    13 -	cp src/$(LIBNAME) $(LUA_LIBDIR)
       
    14 -	cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
       
    15 +	mkdir -p $(DESTDIR)$(LUA_LIBDIR)
       
    16 +	cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)
       
    17 +	cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
       
    18  
       
    19  clean:
       
    20  	rm -f src/$(LIBNAME) $(OBJS)
       
    21 diff -ruN luafilesystem-1.3.0.orig/config luafilesystem-1.3.0/config
       
    22 --- luafilesystem-1.3.0.orig/config	2007-07-31 05:22:55.000000000 +0200
       
    23 +++ luafilesystem-1.3.0/config	2007-10-27 20:36:08.000000000 +0200
       
    24 @@ -1,8 +1,8 @@
       
    25  # Installation directories
       
    26  # System's libraries directory (where binary libraries are installed)
       
    27 -LUA_LIBDIR= /usr/local/lib/lua/5.1
       
    28 +LUA_LIBDIR= /usr/lib/lua/5.1
       
    29  # Lua includes directory
       
    30 -LUA_INC= /usr/local/include
       
    31 +LUA_INC= /usr/include
       
    32  
       
    33  # OS dependent
       
    34  LIB_OPTION= -shared #for Linux