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.16.2 | PORTVERSION= 3.17.0 | ||||
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/2017/ http://www2.sqlite.org/2017/ http://www3.sqlite.org/2017/ | ||||
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 | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= 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 SOUNDEX METADATA \ | ||||
DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \ | DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \ | ||||
EXTENSION ARMOR STMT DBSTAT FTS5 JSON1 RBU \ | EXTENSION ARMOR STMT DBSTAT FTS5 JSON1 RBU NULL_TRIM \ | ||||
LIKENOTBLOB STSHELL FTS3_TOKEN SESSION UNKNOWN_SQL | LIKENOTBLOB STSHELL FTS3_TOKEN SESSION UNKNOWN_SQL | ||||
OPTIONS_SINGLE= RAMT | OPTIONS_SINGLE= RAMT | ||||
OPTIONS_RADIO= STAT | OPTIONS_RADIO= STAT | ||||
OPTIONS_GROUP= UNICODE RTREEG RL | OPTIONS_GROUP= UNICODE RTREEG RL | ||||
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= Enables 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= Allows 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 | |||||
NULL_TRIM_DESC= Omits NULL columns at the ends of rows | |||||
# 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 | ||||
▲ Show 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | |||||
LIKENOTBLOB_CPPFLAGS= -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 | LIKENOTBLOB_CPPFLAGS= -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 | ||||
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 | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
# Platform Configuration | # Platform Configuration | ||||
.if !defined(WITH_DEBUG) | .if !defined(WITH_DEBUG) | ||||
CFLAGS+= -Os | CFLAGS+= -Os | ||||
.endif | .endif | ||||
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 | ||||
Show All 18 Lines |