1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

databases/sqlite3: disable SQLITE_MMAP_READWRITE

Although mmap is not in use by default, this option is too specific to
enable in the system sqlite3. There are cases where the
application/developer may wish to use mmap for reads (to minimize the
sqlite pagecache), but go through the well tested (p)write routines.
This commit is contained in:
Kevin Bowling 2021-06-14 00:04:08 -07:00
parent 58f4100c0c
commit 48df5fd0d9

View File

@ -2,7 +2,7 @@
PORTNAME= sqlite3
DISTVERSION= 3.35.5
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= https://www.sqlite.org/${%Y:L:gmtime}/ https://www2.sqlite.org/${%Y:L:gmtime}/ https://www3.sqlite.org/${%Y:L:gmtime}/
@ -202,7 +202,6 @@ CPPFLAGS+= -DHAVE_FCHOWN=1 \
-DHAVE_STRCHRNUL=1 \
-DHAVE_STRERROR_R=1 \
-DHAVE_READLINK=1 \
-DSQLITE_MMAP_READWRITE=1 \
-DSQLITE_OS_UNIX=1
CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234