config.patch 866 B

12345678910111213141516171819202122232425262728
  1. --- lua-rings-1.3.0_org/config 2014-06-04 15:24:24.223662038 +0800
  2. +++ lua-rings-1.3.0/config 2014-06-04 16:16:15.183594040 +0800
  3. @@ -1,15 +1,15 @@
  4. # Installation directories
  5. # Default prefix
  6. -PREFIX ?= /usr/local
  7. +PREFIX ?= /usr
  8. DESTDIR ?= /
  9. # System's libraries directory (where binary libraries are installed)
  10. -LUA_LIBDIR ?= $(PREFIX)/lib/lua/5.1
  11. +LUA_LIBDIR ?= $(PREFIX)/lib/lua
  12. # System's lua directory (where Lua libraries are installed)
  13. -LUA_DIR ?= $(PREFIX)/share/lua/5.1
  14. +LUA_DIR ?= $(PREFIX)/lib/lua
  15. # Lua includes directory
  16. LUA_INC ?= $(PREFIX)/include
  17. @@ -24,6 +24,5 @@
  18. WARN ?= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -Wpointer-arith -pedantic
  19. INCS ?= -I$(LUA_INC)
  20. CFLAGS ?= $(WARN) $(INCS)
  21. -CC ?= gcc
  22. # $Id: config,v 1.7 2007/10/29 22:51:39 carregal Exp $