aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2021-06-14 07:04:08 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2021-06-14 07:08:14 +0000
commit48df5fd0d9e307f159634df6d72dadc57568a563 (patch)
tree0d12220fc5e0bcdbab8b25d1abb12ae4bd0a8b3d
parent58f4100c0c7d4a16b3806a3f1ec6bc76edfe6ffb (diff)
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.
-rw-r--r--databases/sqlite3/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index b076d5ab0505..d5335e4c0841 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -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