public
Description: Git mirror of the MacPorts svn repo
Homepage: http://www.macports.org
Clone URL: git://github.com/kballard/macports.git
Andrea D'Amore (author)
Thu May 15 22:45:17 -0700 2008
commit  4334982208a88ec59c16e893410e0267daec3dae
tree    c08a29c5fa543822770be633d59c21e401a7337b
parent  9b7033928a814df946d0bede441f133f7bc9706d
macports / dports / devel / lua-expat / files / patch-luaexpat.diff
100644 47 lines (41 sloc) 1.727 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
diff -ru luaexpat-1.1-orig/config luaexpat-1.1/config
--- luaexpat-1.1-orig/config  2006-06-08 22:41:48.000000000 +0200
+++ luaexpat-1.1/config  2008-05-14 23:27:14.000000000 +0200
@@ -1,23 +1,23 @@
 # Installation directories
 # System's libraries directory (where binary libraries are installed)
-LUA_LIBDIR= /usr/local/lib/lua/5.0
+LUA_LIBDIR= /opt/local/lib/lua/5.1
 # System's lua directory (where Lua libraries are installed)
-LUA_DIR= /usr/local/share/lua/5.0
+LUA_DIR= /opt/local/share/lua/5.1
 # Lua includes directory
-LUA_INC= /usr/local/include
+LUA_INC= /opt/local/include
 # Expat includes directory
-EXPAT_INC= /usr/local/include
+EXPAT_INC= /opt/local/include
 
 # OS dependent
-LIB_OPTION= -shared #for Linux
-#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
+#LIB_OPTION= -shared #for Linux
+LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
 
 LIBNAME= $T.so.$V
 # Lua version number
 # (according to Lua 5.1 definition:
 # first version digit * 100 + second version digit
 # e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501)
-LUA_VERSION_NUM= 500
+LUA_VERSION_NUM= 513
 COMPAT_DIR= ../compat/src
 
 # Compilation parameters
diff -ru luaexpat-1.1-orig/makefile luaexpat-1.1/makefile
--- luaexpat-1.1-orig/makefile  2006-06-08 22:41:48.000000000 +0200
+++ luaexpat-1.1/makefile  2008-05-15 07:56:31.000000000 +0200
@@ -12,7 +12,7 @@
 lib: src/$(LIBNAME)
 
 src/$(LIBNAME) : $(OBJS)
-  export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
+  export MACOSX_DEPLOYMENT_TARGET="10.5"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
 
 $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
   $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c