]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/ion/ion3/201_fix-paths.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / ion / ion3 / 201_fix-paths.diff
1 #
2 # Patch managed by http://www.holgerschurig.de/patcher.html
3 #
4
5 --- ion-3ds-20041104/system.mk~201fix-paths
6 +++ ion-3ds-20041104/system.mk
7 @@ -7,7 +7,7 @@
8  ## Installation paths
9  ##
10  
11 -PREFIX=/usr/local
12 +PREFIX=/usr
13  
14  # Unless you are creating a package conforming to some OS's standards, you
15  # probably do not want to modify the following directories:
16 @@ -15,7 +15,7 @@
17  # Main binaries
18  BINDIR=$(PREFIX)/bin
19  # Configuration .lua files
20 -ETCDIR=$(PREFIX)/etc/ion3
21 +ETCDIR=/etc/X11/ion3
22  # Some .lua files and ion-* shell scripts
23  SHAREDIR=$(PREFIX)/share/ion3
24  # Manual pages
25 @@ -27,11 +27,11 @@
26  # Nothing at the moment
27  LIBDIR=$(PREFIX)/lib
28  # Modules
29 -MODULEDIR=$(LIBDIR)/ion3/mod
30 +MODULEDIR=$(LIBDIR)/ion3
31  # Compiled Lua source code
32  LCDIR=$(LIBDIR)/ion3/lc
33  # ion-completefile (does not belong in SHAREDIR being a binary file)
34 -EXTRABINDIR=$(LIBDIR)/ion3/bin
35 +EXTRABINDIR=$(LIBDIR)/ion3
36  # For ion-completeman system-wide cache
37  VARDIR=/var/cache/ion3
38  # Message catalogs
39 @@ -56,18 +56,18 @@
40  
41  # If you have installed Lua 5.0 from the official tarball without changing
42  # paths, this should do it.
43 -LUA_DIR=/usr/local
44 -LUA_LIBS = -L$(LUA_DIR)/lib -llua -llualib
45 -LUA_INCLUDES = -I$(LUA_DIR)/include
46 -LUA=$(LUA_DIR)/bin/lua
47 -LUAC=$(LUA_DIR)/bin/luac
48 +#LUA_DIR=/usr/local
49 +#LUA_LIBS = -L$(LUA_DIR)/lib -llua -llualib
50 +#LUA_INCLUDES = -I$(LUA_DIR)/include
51 +#LUA=$(LUA_DIR)/bin/lua
52 +#LUAC=$(LUA_DIR)/bin/luac
53  
54  # If you are using the Debian packages, the following settings should be
55  # what you want.
56 -#LUA_LIBS=`lua-config50 --libs`
57 -#LUA_INCLUDES=`lua-config50 --include`
58 -#LUA=lua50
59 -#LUAC=luac50
60 +LUA_LIBS=`lua-config --libs`
61 +LUA_INCLUDES=`lua-config --include`
62 +LUA=lua
63 +LUAC=luac
64  
65  
66  ##
67 @@ -107,7 +107,7 @@
68  # asprintf and vasprintf in the c library. (gnu libc has.)
69  # If HAS_SYSTEM_ASPRINTF is not defined, an implementation
70  # in sprintf_2.2/ is used.
71 -#HAS_SYSTEM_ASPRINTF=1
72 +HAS_SYSTEM_ASPRINTF=1
73  
74  
75  # If you're on an archaic system (such as relatively recent *BSD releases)
76 @@ -139,14 +139,14 @@
77  
78  #C89_SOURCE=-ansi
79  
80 -#POSIX_SOURCE=-D_POSIX_SOURCE
81 +POSIX_SOURCE=-D_POSIX_SOURCE
82  
83  # Most systems
84 -#XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
85 +XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
86  # SunOS, (Irix)
87  #XOPEN_SOURCE=-D__EXTENSIONS__
88  
89 -#C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
90 +C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
91  
92  # The -DCF_HAS_VA_COPY option should allow for some optimisations, and 
93  # in some cases simply defining