pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/sqlite3



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Fri Jul 19 17:11:54 UTC 2024

Modified Files:
        pkgsrc/databases/sqlite3: options.mk

Log Message:
databases/sqlite3: New sqlite3-dbstat option.

Enables the DBSTAT virtual table:

https://sqlite.org/dbstat.html

No revbump because option is default-off for now.

PR pkg/58448


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/databases/sqlite3/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/sqlite3/options.mk
diff -u pkgsrc/databases/sqlite3/options.mk:1.7 pkgsrc/databases/sqlite3/options.mk:1.8
--- pkgsrc/databases/sqlite3/options.mk:1.7     Mon Feb 20 07:28:31 2023
+++ pkgsrc/databases/sqlite3/options.mk Fri Jul 19 17:11:54 2024
@@ -1,11 +1,15 @@
-# $NetBSD: options.mk,v 1.7 2023/02/20 07:28:31 wiz Exp $
+# $NetBSD: options.mk,v 1.8 2024/07/19 17:11:54 riastradh Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.sqlite3
-PKG_SUPPORTED_OPTIONS=         fts icu deserialize
+PKG_SUPPORTED_OPTIONS=         sqlite3-dbstat fts icu deserialize
 PKG_SUGGESTED_OPTIONS=         fts # enabled in NetBSD builtin version
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Msqlite3-dbstat)
+CFLAGS+=       -DSQLITE_ENABLE_DBSTAT_VTAB=1
+.endif
+
 .if !empty(PKG_OPTIONS:Mfts)
 CFLAGS+=       -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1
 .endif



Home | Main Index | Thread Index | Old Index