diff options
author | Frederic Culot <culot@FreeBSD.org> | 2013-04-17 09:19:54 +0000 |
---|---|---|
committer | Frederic Culot <culot@FreeBSD.org> | 2013-04-17 09:19:54 +0000 |
commit | 4effebb245b6bcdb88b460cfad28b786a54b180b (patch) | |
tree | 8fec860f29ed3146bf6a3c4dfbbcc8290965659a /databases/sqlite3 | |
parent | d294f6c7ec0507e7218083a19c2ddb54ecd2d83f (diff) | |
download | ports-4effebb245b6bcdb88b460cfad28b786a54b180b.tar.gz ports-4effebb245b6bcdb88b460cfad28b786a54b180b.zip |
Notes
Diffstat (limited to 'databases/sqlite3')
-rw-r--r-- | databases/sqlite3/Makefile | 26 | ||||
-rw-r--r-- | databases/sqlite3/distinfo | 4 | ||||
-rw-r--r-- | databases/sqlite3/files/patch-Makefile.in | 11 |
3 files changed, 23 insertions, 18 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index b37d5b96237d..64096bb8f62e 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= sqlite3 -PORTVERSION= 3.7.14.1 +PORTVERSION= 3.7.16.1 CATEGORIES= databases -MASTER_SITES= http://www.sqlite.org/ http://www2.sqlite.org/ http://www3.sqlite.org/ -DISTNAME= sqlite-autoconf-3071401 +MASTER_SITES= http://www.sqlite.org/2013/ http://www2.sqlite.org/2013/ http://www3.sqlite.org/2013/ +DISTNAME= sqlite-autoconf-3071601 MAINTAINER= pavelivolkov@gmail.com COMMENT= An SQL database engine in a C library @@ -15,7 +15,7 @@ LICENSE_NAME= Public Domain LICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -CONFLICTS= sqlite34-[0-9]* sqlcipher-* +CONFLICTS= sqlite34-[0-9]* sqlcipher-[0-9]* USE_PKGCONFIG= build USE_LDCONFIG= YES @@ -25,7 +25,7 @@ MAKE_JOBS_UNSAFE= yes # Compilation Options For SQLite http://www.sqlite.org/compile.html OPTIONS_DEFINE= FTS3 ICU RTREE RAMTABLE UPD_DEL_LIMIT URI SOUNDEX METADATA \ - STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADSAFE \ + STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY SQLLOG THREADSAFE \ EXTENSION OPTIONS_DEFAULT= FTS3 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADSAFE EXTENSION FTS3_DESC= Enable FTS3/4 (Full Text Search) module @@ -41,6 +41,7 @@ DIRECT_READ_DESC= File is read directly from disk MEMMAN_DESC= Allows it to release unused memory SECURE_DELETE_DESC= Overwrite deleted information with zeros UNLOCK_NOTIFY_DESC= Enable notification on unlocking +SQLLOG_DESC= Allow logging operations THREADSAFE_DESC= Build thread-safe library EXTENSION_DESC= Allow loadable extensions @@ -136,6 +137,10 @@ CPPFLAGS+= -DSQLITE_SECURE_DELETE=1 CPPFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 .endif +.if ${PORT_OPTIONS:MSQLLOG} +CPPFLAGS+= -DSQLITE_ENABLE_SQLLOG=1 +.endif + .if ${PORT_OPTIONS:MMETADATA} CPPFLAGS+= -DSQLITE_ENABLE_COLUMN_METADATA=1 .endif @@ -153,6 +158,17 @@ CONFIGURE_ARGS+= --enable-dynamic-extensions CONFIGURE_ARGS+= --disable-dynamic-extensions .endif +post-patch: + @${REINPLACE_CMD} '/^pkgconf/s,$${libdir},$${prefix}/libdata,' ${WRKSRC}/Makefile.in +.if ${PORT_OPTIONS:MSQLLOG} + @${ECHO_CMD} "void sqlite3_init_sqllog(void) { /* fake function */ }" >> ${WRKSRC}/shell.c +.endif + +post-build: +.if ${ARCH}=="i386" + @${ECHO_MSG} "===> WARNING: on ${ARCH} don't pass atof1-* tests" +.endif + post-install: .if !defined(NO_INSTALL_MANPAGES) @${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${MANPREFIX}/man/man1 diff --git a/databases/sqlite3/distinfo b/databases/sqlite3/distinfo index f45c956862e7..4c1528d97fb1 100644 --- a/databases/sqlite3/distinfo +++ b/databases/sqlite3/distinfo @@ -1,2 +1,2 @@ -SHA256 (sqlite-autoconf-3071401.tar.gz) = d46d302a63b23d9c3b80e519be12cb7d6a8d3da57bd9c119341a0aa8b3b28692 -SIZE (sqlite-autoconf-3071401.tar.gz) = 1832051 +SHA256 (sqlite-autoconf-3071601.tar.gz) = 4af5ea8cbb1b0b0b53c67cef0b32d86f76e84c912228954e8577224150184a68 +SIZE (sqlite-autoconf-3071601.tar.gz) = 1854392 diff --git a/databases/sqlite3/files/patch-Makefile.in b/databases/sqlite3/files/patch-Makefile.in deleted file mode 100644 index f3a3b9207728..000000000000 --- a/databases/sqlite3/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./Makefile.in.orig 2012-05-25 09:51:37.000000000 +0400 -+++ ./Makefile.in 2012-05-25 09:52:43.000000000 +0400 -@@ -243,7 +243,7 @@ - sqlite3_DEPENDENCIES = $(top_builddir)/libsqlite3.la - include_HEADERS = sqlite3.h sqlite3ext.h - EXTRA_DIST = sqlite3.pc sqlite3.1 tea --pkgconfigdir = ${libdir}/pkgconfig -+pkgconfigdir = ${prefix}/libdata/pkgconfig - pkgconfig_DATA = sqlite3.pc - man_MANS = sqlite3.1 - all: all-am |