Installer import into contrib (real import this time)
[dragonfly.git] / contrib / bsdinstaller-1.1.6 / ports / devel / lua50-filesystem / files / patch-config
1 --- config.orig 2005-01-19 09:20:04.000000000 -0800
2 +++ config      2005-02-20 11:18:02.000000000 -0800
3 @@ -7,19 +7,19 @@
4  LUA_INC= /usr/local/include/lua5
5  
6  # OS dependent
7 -LIB_EXT= .dylib
8 -#LIB_EXT= .so
9 -LIB_OPTION= -dynamiclib #for MacOS X
10 -#LIB_OPTION= -shared #for Linux
11 +#LIB_EXT= .dylib
12 +LIB_EXT= .so
13 +#LIB_OPTION= -dynamiclib #for MacOS X
14 +LIB_OPTION= -shared #for Linux
15  
16 -COMPAT_DIR= .
17 +COMPAT_DIR= /usr/local/share/lua/compat-5.1r2
18  
19  # Compilation directives
20  # On FreeBSD systems, the following line should be commented
21 -DLLIB= -ldl
22 +#DLLIB= -ldl
23  WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
24 -INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
25 -LIBS= -L$(LUA_LIBDIR) -llua -llualib -lm $(DLLIB)
26 +INCS= -I$(LUA_INC) -I$(COMPAT_DIR) -I/usr/local/include
27 +LIBS= -L$(LUA_LIBDIR) -L/usr/local/lib -llua -llualib -lm $(DLLIB)
28  CFLAGS= $(WARN) $(INCS)
29  CC= gcc
30