Changeset View
Changeset View
Standalone View
Standalone View
head/databases/sqlite3/Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org> | # Created by: Ying-Chieh Liao <ijliao@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= sqlite3 | PORTNAME= sqlite3 | ||||
PORTVERSION= 3.21.0 | DISTVERSION= 3.22.0 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= databases | CATEGORIES= databases | ||||
MASTER_SITES= https://www.sqlite.org/2017/ http://www2.sqlite.org/2017/ http://www3.sqlite.org/2017/ | MASTER_SITES= https://www.sqlite.org/2018/ http://www2.sqlite.org/2018/ http://www3.sqlite.org/2018/ | ||||
DISTNAME= sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00 | DISTNAME= sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00 | ||||
MAINTAINER= pavelivolkov@gmail.com | MAINTAINER= pavelivolkov@gmail.com | ||||
COMMENT= SQL database engine in a C library | COMMENT= SQL database engine in a C library | ||||
LICENSE= PD | LICENSE= PD | ||||
USES= libtool ncurses pathfix | USES= libtool ncurses pathfix | ||||
USE_LDCONFIG= yes | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_LDCONFIG= yes | |||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
MAKE_JOBS_UNSAFE= yes | MAKE_JOBS_UNSAFE= yes | ||||
# Compilation Options For SQLite https://www.sqlite.org/compile.html | # Compilation Options For SQLite https://www.sqlite.org/compile.html | ||||
OPTIONS_DEFINE= FTS4 UPD_DEL_LIMIT URI URI_AUTHORITY SOUNDEX METADATA \ | OPTIONS_DEFINE= FTS4 UPD_DEL_LIMIT URI URI_AUTHORITY METADATA \ | ||||
DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \ | DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \ | ||||
EXTENSION ARMOR STMT DBPAGE DBSTAT FTS5 JSON1 RBU NULL_TRIM \ | EXTENSION ARMOR STMT DBPAGE DBSTAT FTS5 RBU NULL_TRIM \ | ||||
LIKENOTBLOB STSHELL FTS3_TOKEN SESSION UNKNOWN_SQL | LIKENOTBLOB STSHELL FTS3_TOKEN UNKNOWN_SQL | ||||
OPTIONS_SINGLE= RAMT | OPTIONS_SINGLE= RAMT | ||||
OPTIONS_RADIO= STAT | OPTIONS_RADIO= STAT | ||||
OPTIONS_GROUP= UNICODE RTREEG RL | OPTIONS_GROUP= OPT_EXT OPT_FUNC UNICODE RTREEG RL | ||||
OPTIONS_GROUP_OPT_EXT= JSON1 SESSION | |||||
OPTIONS_GROUP_OPT_FUNC= OFFSET SOUNDEX | |||||
OPT_EXT_DESC= Optional extensions | |||||
OPT_FUNC_DESC= Optional functions | |||||
UPD_DEL_LIMIT_DESC= ORDER BY and LIMIT on UPDATE and DELETE | UPD_DEL_LIMIT_DESC= ORDER BY and LIMIT on UPDATE and DELETE | ||||
URI_DESC= Enable use the URI filename | URI_DESC= Enable use the URI filename | ||||
URI_AUTHORITY_DESC= Allow convert URL into a UNC | URI_AUTHORITY_DESC= Allow convert URL into a UNC | ||||
SOUNDEX_DESC= Enables the soundex() SQL function | SOUNDEX_DESC= Enable the soundex() SQL function | ||||
METADATA_DESC= Enable column metadata | METADATA_DESC= Enable column metadata | ||||
DIRECT_READ_DESC= File is read directly from disk | DIRECT_READ_DESC= File is read directly from disk | ||||
MEMMAN_DESC= Allows it to release unused memory | MEMMAN_DESC= Allow it to release unused memory | ||||
SECURE_DELETE_DESC= Overwrite deleted information with zeros | SECURE_DELETE_DESC= Overwrite deleted information with zeros | ||||
UNLOCK_NOTIFY_DESC= Enable notification on unlocking | UNLOCK_NOTIFY_DESC= Enable notification on unlocking | ||||
EXTENSION_DESC= Allow loadable extensions | EXTENSION_DESC= Allow loadable extensions | ||||
STSHELL_DESC= Statically link libsqlite3 into shell | STSHELL_DESC= Statically link libsqlite3 into shell | ||||
# https://sqlite.org/compile.html#enable_null_trim | # https://sqlite.org/compile.html#enable_null_trim | ||||
NULL_TRIM_DESC= Omits NULL columns at the ends of rows | NULL_TRIM_DESC= Omits NULL columns at the ends of rows | ||||
# http://www.sqlite.org/compile.html#enable_offset_sql_func | |||||
OFFSET_DESC= Enable sqlite_offset() returning record's file offset | |||||
# https://www.sqlite.org/sessionintro.html | # https://www.sqlite.org/sessionintro.html | ||||
SESSION_DESC= Enable the Session Extension | SESSION_DESC= Enable the session extension | ||||
# https://sqlite.org/compile.html#like_doesnt_match_blobs | # https://sqlite.org/compile.html#like_doesnt_match_blobs | ||||
LIKENOTBLOB_DESC= LIKE does not match blobs | LIKENOTBLOB_DESC= LIKE does not match blobs | ||||
# https://www.sqlite.org/compile.html#enable_api_armor | # https://www.sqlite.org/compile.html#enable_api_armor | ||||
ARMOR_DESC= Detect misuse of the API | ARMOR_DESC= Detect misuse of the API | ||||
# http://sqlite.org/compile.html#enable_unknown_sql_function | # http://sqlite.org/compile.html#enable_unknown_sql_function | ||||
UNKNOWN_SQL_DESC= suppress unknown function errors | UNKNOWN_SQL_DESC= Suppress unknown function errors | ||||
# https://www.sqlite.org/fts3.html | # https://www.sqlite.org/fts3.html | ||||
# https://www.sqlite.org/compile.html#enable_fts3_parenthesis | # https://www.sqlite.org/compile.html#enable_fts3_parenthesis | ||||
FTS4_DESC= Enable FTS3/4 (Full Text Search) module | FTS4_DESC= Enable FTS3/4 (Full Text Search) module | ||||
# https://www.sqlite.org/fts5.html | # https://www.sqlite.org/fts5.html | ||||
FTS5_DESC= Enable version 5 full-text search engine | FTS5_DESC= Enable version 5 full-text search engine | ||||
# https://www.sqlite.org/compile.html#enable_fts3_tokenizer | # https://www.sqlite.org/compile.html#enable_fts3_tokenizer | ||||
# https://www.sqlite.org/fts3.html#f3tknzr | # https://www.sqlite.org/fts3.html#f3tknzr | ||||
FTS3_TOKEN_DESC= Enable two-args version fts3_tokenizer | FTS3_TOKEN_DESC= Enable two-args version fts3_tokenizer | ||||
# https://www.sqlite.org/json1.html | # https://www.sqlite.org/json1.html | ||||
JSON1_DESC= Enable the JSON1 extension | JSON1_DESC= Enable the JSON1 extension | ||||
# https://www.sqlite.org/rbu.html | # https://www.sqlite.org/rbu.html | ||||
RBU_DESC= Enable the Resumable Bulk Update | RBU_DESC= Enable the resumable bulk update | ||||
# https://www.sqlite.org/c3ref/stmt_scanstatus.html | # https://www.sqlite.org/c3ref/stmt_scanstatus.html | ||||
STMT_DESC= Prepared Statement Scan Status | STMT_DESC= Prepared statement scan status | ||||
# https://www.sqlite.org/tempfiles.html#tempstore | # https://www.sqlite.org/tempfiles.html#tempstore | ||||
OPTIONS_SINGLE_RAMT= TS0 TS1 TS2 TS3 | OPTIONS_SINGLE_RAMT= TS0 TS1 TS2 TS3 | ||||
RAMT_DESC= Where to store temporary file | RAMT_DESC= Where to store temporary file | ||||
TS0_DESC= Always use temporary file | TS0_DESC= Always use temporary file | ||||
TS1_DESC= File by default, change allowed PRAGMA | TS1_DESC= File by default, change allowed PRAGMA | ||||
TS2_DESC= Memory by default, change allowed PRAGMA | TS2_DESC= Memory by default, change allowed PRAGMA | ||||
TS3_DESC= Always use memory | TS3_DESC= Always use memory | ||||
# https://www.sqlite.org/queryplanner-ng.html#qpstab | # https://www.sqlite.org/queryplanner-ng.html#qpstab | ||||
OPTIONS_RADIO_STAT= STAT3 STAT4 | OPTIONS_RADIO_STAT= STAT3 STAT4 | ||||
STAT_DESC= Which query planner to use, Stability or ... | STAT_DESC= Which query planner to use, stability or ... | ||||
STAT3_DESC= collect histogram data from leftmost column | STAT3_DESC= collect histogram data from leftmost column | ||||
STAT4_DESC= collect histogram data from all columns | STAT4_DESC= collect histogram data from all columns | ||||
# https://sqlite.org/compile.html#enable_dbpage_vtab | # https://sqlite.org/compile.html#enable_dbpage_vtab | ||||
DBPAGE_DESC= Enable DBPAGE Virtual Table | DBPAGE_DESC= Enable DBPAGE Virtual Table | ||||
# https://www.sqlite.org/dbstat.html | # https://www.sqlite.org/dbstat.html | ||||
DBSTAT_DESC= Enable DBSTAT Virtual Table | DBSTAT_DESC= Enable DBSTAT Virtual Table | ||||
▲ Show 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | |||||
STSHELL_CONFIGURE_ENABLE= static-shell | STSHELL_CONFIGURE_ENABLE= static-shell | ||||
SESSION_CONFIGURE_ENABLE= session | SESSION_CONFIGURE_ENABLE= session | ||||
UNKNOWN_SQL_CPPFLAGS= -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION=1 | UNKNOWN_SQL_CPPFLAGS= -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION=1 | ||||
NULL_TRIM_CPPFLAGS= -DSQLITE_ENABLE_NULL_TRIM=1 | NULL_TRIM_CPPFLAGS= -DSQLITE_ENABLE_NULL_TRIM=1 | ||||
OFFSET_CPPFLAGS= -DSQLITE_ENABLE_OFFSET_SQL_FUNC=1 | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
# Platform Configuration | # Platform Configuration | ||||
CPPFLAGS+= -DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1 -DHAVE_STRCHRNUL=1 | CPPFLAGS+= -DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1 -DHAVE_STRCHRNUL=1 | ||||
post-configure: | post-configure: | ||||
@${ECHO_MSG} "===> CONFIGURE_ARGS=${CONFIGURE_ARGS}" | @${ECHO_MSG} "===> CONFIGURE_ARGS=${CONFIGURE_ARGS}" | ||||
Show All 22 Lines |