kepler.patch 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. diff -Naur kepler-1.1/launcher/cgi/Makefile kepler-1.1.new/launcher/cgi/Makefile
  2. --- kepler-1.1/launcher/cgi/Makefile 2007-04-21 06:41:49.000000000 +1000
  3. +++ kepler-1.1.new/launcher/cgi/Makefile 2007-05-16 22:13:38.750000000 +1000
  4. @@ -16,7 +16,7 @@
  5. $T: $(CH) $(OBJS)
  6. - $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
  7. + $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) -L../../lua-5.1.2/src -llua
  8. build: $T
  9. diff -Naur kepler-1.1/luafilesystem/Makefile kepler-1.1.new/luafilesystem/Makefile
  10. --- kepler-1.1/luafilesystem/Makefile 2007-04-21 06:41:49.000000000 +1000
  11. +++ kepler-1.1.new/luafilesystem/Makefile 2007-05-16 22:06:25.546875000 +1000
  12. @@ -12,7 +12,7 @@
  13. lib: src/$(LIBNAME)
  14. src/$(LIBNAME): $(OBJS)
  15. - export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
  16. + export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -L../lua-5.1.2/src -llua
  17. install: src/$(LIBNAME)
  18. mkdir -p $(LUA_LIBDIR)
  19. diff -Naur kepler-1.1/luasocket-2.0.1/src/makefile kepler-1.1.new/luasocket-2.0.1/src/makefile
  20. --- kepler-1.1/luasocket-2.0.1/src/makefile 2007-04-21 06:41:49.000000000 +1000
  21. +++ kepler-1.1.new/luasocket-2.0.1/src/makefile 2007-05-16 22:36:37.125000000 +1000
  22. @@ -47,10 +47,10 @@
  23. all: $(SOCKET_SO) $(MIME_SO)
  24. $(SOCKET_SO): $(SOCKET_OBJS)
  25. - $(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS)
  26. + $(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS) -L../../lua-5.1.2/src -llua
  27. $(MIME_SO): $(MIME_OBJS)
  28. - $(LD) $(LDFLAGS) -o $@ $(MIME_OBJS)
  29. + $(LD) $(LDFLAGS) -o $@ $(MIME_OBJS) -L../../lua-5.1.2/src -llua
  30. $(UNIX_SO): $(UNIX_OBJS)
  31. $(LD) $(LDFLAGS) -o $@ $(UNIX_OBJS)
  32. diff -Naur kepler-1.1/md5/Makefile kepler-1.1.new/md5/Makefile
  33. --- kepler-1.1/md5/Makefile 2007-04-21 06:41:49.000000000 +1000
  34. +++ kepler-1.1.new/md5/Makefile 2007-05-16 22:06:44.593750000 +1000
  35. @@ -15,7 +15,7 @@
  36. src/$(LIBNAME) : $(OBJS)
  37. - export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
  38. + export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -L../lua-5.1.2/src -llua
  39. $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
  40. $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c
  41. diff -Naur kepler-1.1/rings/Makefile kepler-1.1.new/rings/Makefile
  42. --- kepler-1.1/rings/Makefile 2007-04-21 06:41:49.000000000 +1000
  43. +++ kepler-1.1.new/rings/Makefile 2007-05-16 22:05:28.765625000 +1000
  44. @@ -10,7 +10,7 @@
  45. OBJS= src/rings.o
  46. src/$(LIBNAME) : $(OBJS)
  47. - export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
  48. + export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -L../lua-5.1.2/src -llua
  49. install:
  50. mkdir -p $(LUA_LIBDIR)