Lines 6-16
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= sqlite3 |
8 |
PORTNAME= sqlite3 |
9 |
PORTVERSION= 3.7.9 |
9 |
PORTVERSION= 3.7.10 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= databases |
10 |
CATEGORIES= databases |
12 |
MASTER_SITES= http://www.sqlite.org/ http://www2.sqlite.org/ |
11 |
MASTER_SITES= http://www.sqlite.org/ http://www2.sqlite.org/ |
13 |
DISTNAME= sqlite-src-3070900 |
12 |
DISTNAME= sqlite-src-3071000 |
14 |
|
13 |
|
15 |
MAINTAINER= pavelivolkov@googlemail.com |
14 |
MAINTAINER= pavelivolkov@googlemail.com |
16 |
COMMENT= An SQL database engine in a C library |
15 |
COMMENT= An SQL database engine in a C library |
Lines 46-56
Link Here
|
46 |
RAMTABLE "Store temporary tables in RAM = ${RAMTABLE}" off \ |
45 |
RAMTABLE "Store temporary tables in RAM = ${RAMTABLE}" off \ |
47 |
UPD_DEL_LIMIT "ORDER BY and LIMIT on UPDATE and DELETE" off \ |
46 |
UPD_DEL_LIMIT "ORDER BY and LIMIT on UPDATE and DELETE" off \ |
48 |
URI "Enable use the URI filename" off \ |
47 |
URI "Enable use the URI filename" off \ |
|
|
48 |
POWERSAFE "Enable powersafe overwrite" on \ |
49 |
SOUNDEX "Enables the soundex() SQL function" off \ |
49 |
SOUNDEX "Enables the soundex() SQL function" off \ |
50 |
METADATA "Enable column metadata" on \ |
50 |
METADATA "Enable column metadata" on \ |
51 |
STAT3 "Help SQLite to chose a better query plan" off \ |
51 |
STAT3 "Help SQLite to chose a better query plan" off \ |
52 |
DIRECT_READ "File is read directly from disk" off \ |
52 |
DIRECT_READ "File is read directly from disk" off \ |
53 |
MEMMAN "Allows it to release unused memory" off \ |
53 |
MEMMAN "Allows it to release unused memory" off \ |
|
|
54 |
MEMSTATUS "Enable memory statistics" on \ |
54 |
SECURE_DELETE "Overwrite deleted information with zeros" on \ |
55 |
SECURE_DELETE "Overwrite deleted information with zeros" on \ |
55 |
UNLOCK_NOTIFY "Enable notification on unlocking" on \ |
56 |
UNLOCK_NOTIFY "Enable notification on unlocking" on \ |
56 |
THREADSAFE "Build thread-safe library" on \ |
57 |
THREADSAFE "Build thread-safe library" on \ |
Lines 124-133
Link Here
|
124 |
CFLAGS+= -DSQLITE_DEFAULT_TEMP_CACHE_SIZE=${TEMP_CACHE_SIZE} |
125 |
CFLAGS+= -DSQLITE_DEFAULT_TEMP_CACHE_SIZE=${TEMP_CACHE_SIZE} |
125 |
.endif |
126 |
.endif |
126 |
|
127 |
|
|
|
128 |
# http://www.sqlite.org/wal.html#ckpt |
129 |
.ifdef WAL_AUTOCHECKPOINT |
130 |
CFLAGS+= -DSQLITE_DEFAULT_WAL_AUTOCHECKPOINT=${WAL_AUTOCHECKPOINT} |
131 |
.endif |
132 |
|
133 |
.ifdef SCHEMA_RETRY |
134 |
CFLAGS+= -DSQLITE_MAX_SCHEMA_RETRY=${SCHEMA_RETRY} |
135 |
.endif |
136 |
|
137 |
# http://www.sqlite.org/psow.html |
138 |
.if defined(WITH_POWERSAFE) |
139 |
# SQLite to assume that application-level writes cannot changes bytes outside the range |
140 |
# of bytes written even if the write occurs just before a power loss. |
141 |
CFLAGS+= -DSQLITE_POWERSAFE_OVERWRITE=1 |
142 |
.else |
143 |
# SQLite assumes that other bytes in the same sector with a written byte might be changed |
144 |
# or damaged by a power loss. |
145 |
CFLAGS+= -DSQLITE_POWERSAFE_OVERWRITE=0 |
146 |
.endif |
147 |
|
127 |
.if defined(WITH_MEMMAN) |
148 |
.if defined(WITH_MEMMAN) |
128 |
CFLAGS+= -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 |
149 |
CFLAGS+= -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 |
129 |
.endif |
150 |
.endif |
130 |
|
151 |
|
|
|
152 |
# Disable memory statistics. |
153 |
.if defined(WITHOUT_MEMSTATUS) |
154 |
CFLAGS+= -DSQLITE_DEFAULT_MEMSTATUS=0 |
155 |
.endif |
156 |
|
131 |
.if defined(WITH_UPD_DEL_LIMIT) |
157 |
.if defined(WITH_UPD_DEL_LIMIT) |
132 |
CFLAGS+= -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 |
158 |
CFLAGS+= -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 |
133 |
.endif |
159 |
.endif |