2 # Patch managed by http://www.holgerschurig.de/patcher.html
5 --- ion-3ds-20041104/system.mk~201fix-paths
6 +++ ion-3ds-20041104/system.mk
14 # Unless you are creating a package conforming to some OS's standards, you
15 # probably do not want to modify the following directories:
19 # Configuration .lua files
20 -ETCDIR=$(PREFIX)/etc/ion3
22 # Some .lua files and ion-* shell scripts
23 SHAREDIR=$(PREFIX)/share/ion3
26 # Nothing at the moment
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
41 # If you have installed Lua 5.0 from the official tarball without changing
42 # paths, this should do it.
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
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
54 # If you are using the Debian packages, the following settings should be
56 -#LUA_LIBS=`lua-config50 --libs`
57 -#LUA_INCLUDES=`lua-config50 --include`
60 +LUA_LIBS=`lua-config --libs`
61 +LUA_INCLUDES=`lua-config --include`
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
75 # If you're on an archaic system (such as relatively recent *BSD releases)
80 -#POSIX_SOURCE=-D_POSIX_SOURCE
81 +POSIX_SOURCE=-D_POSIX_SOURCE
84 -#XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
85 +XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
87 #XOPEN_SOURCE=-D__EXTENSIONS__
89 -#C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
90 +C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
92 # The -DCF_HAS_VA_COPY option should allow for some optimisations, and
93 # in some cases simply defining