View | Details | Raw Unified | Return to bug 154844
Collapse All | Expand All

(-)/usr/ports/databases/sqlite3/Makefile (-8 / +33 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	sqlite3
8
PORTNAME=	sqlite3
9
PORTVERSION=	3.7.4
9
PORTVERSION=	3.7.5
10
CATEGORIES=	databases
10
CATEGORIES=	databases
11
MASTER_SITES=	http://www.sqlite.org/ http://www2.sqlite.org/
11
MASTER_SITES=	http://www.sqlite.org/ http://www2.sqlite.org/
12
DISTNAME=	sqlite-src-3070400
12
DISTNAME=	sqlite-src-3070500
13
13
14
MAINTAINER=	pavelivolkov@googlemail.com
14
MAINTAINER=	pavelivolkov@googlemail.com
15
COMMENT=	An SQL database engine in a C library
15
COMMENT=	An SQL database engine in a C library
Lines 39-45 Link Here
39
# Compilation Options For SQLite http://www.sqlite.org/compile.html
39
# Compilation Options For SQLite http://www.sqlite.org/compile.html
40
OPTIONS=	\
40
OPTIONS=	\
41
		FTS3		"Enable FTS3/4 (Full Text Search) module" on \
41
		FTS3		"Enable FTS3/4 (Full Text Search) module" on \
42
		ICU		"Enable built with \"ICU\""		off \
42
		ICU		"Enable built with ICU"			off \
43
		RTREE		"Enable R*Tree module"			off \
43
		RTREE		"Enable R*Tree module"			off \
44
		RAMTABLE	"Store temporary tables in RAM = ${RAMTABLE}" off \
44
		RAMTABLE	"Store temporary tables in RAM = ${RAMTABLE}" off \
45
		UPD_DEL_LIMIT	"ORDER BY and LIMIT on UPDATE and DELETE" off \
45
		UPD_DEL_LIMIT	"ORDER BY and LIMIT on UPDATE and DELETE" off \
Lines 52-59 Link Here
52
		THREADSAFE	"Build thread-safe library"		on \
52
		THREADSAFE	"Build thread-safe library"		on \
53
		EXTENSION	"Allow loadable extensions"		on \
53
		EXTENSION	"Allow loadable extensions"		on \
54
		TCLWRAPPER	"Enable TCL wrapper"			off \
54
		TCLWRAPPER	"Enable TCL wrapper"			off \
55
		DEBUG		"Enable debugging & verbose explain"	off \
56
		GCOV		"Enable coverage testing using gcov (broken)"	off \
57
55
58
.include <bsd.port.options.mk>
56
.include <bsd.port.options.mk>
59
57
Lines 70-86 Link Here
70
EXTRA_PATCHES+=		${FILESDIR}/pthread_equal_stub
68
EXTRA_PATCHES+=		${FILESDIR}/pthread_equal_stub
71
.endif
69
.endif
72
70
71
#		DEBUG	"Enable debugging & verbose explain"	off \
72
# This options used only for debug and is not required during normal work
73
# applications or its libraries.
74
#    This options can be specified on the command line.
75
# Execute: make -D WITH_DEBUG ...
73
.if defined(WITH_DEBUG)
76
.if defined(WITH_DEBUG)
74
CONFIGURE_ARGS+=	--enable-debug
77
CONFIGURE_ARGS+=	--enable-debug
75
CFLAGS+=		-Wall
78
CFLAGS+=		-Wall
76
.endif
79
.endif
77
80
81
#		GCOV	"Enable coverage testing using gcov/gprof"	off \
82
# These options are only used for debugging, profiling the application.
83
# And can cause errors when using the application or its libraries in other
84
# products (for example build security/nss is BROKEN).
85
#    This options can be specified on the command line.
86
# Execute: make -D WITH_GCOV ...
78
.if defined(WITH_GCOV)
87
.if defined(WITH_GCOV)
79
BROKEN=	WITH_GCOV breaks security/nss
80
CONFIGURE_ARGS+=	--enable-gcov
88
CONFIGURE_ARGS+=	--enable-gcov
81
LDFLAGS+=		-fstack-protector
89
LDFLAGS+=		-fstack-protector
82
.endif
90
.endif
83
91
92
#    By default, the sqlite3_step() interface will automatically invoke
93
# sqlite3_reset() to reset the prepared statement if necessary. This
94
# compile-time option changes that behavior so that sqlite3_step() will
95
# return SQLITE_MISUSE if it called again after returning anything other
96
# than SQLITE_ROW, SQLITE_BUSY, or SQLITE_LOCKED unless there was an
97
# intervening call to sqlite3_reset().
98
#    A detailed description of this option, the compile can be found here:
99
# http://www.sqlite.org/compile.html#omit_autoreset
100
#    This options can be specified on the command line.
101
# Execute: make -D WITH_OMIT_AUTORESET ...
102
.if defined(WITH_OMIT_AUTORESET)
103
CFLAGS+=		-DSQLITE_OMIT_AUTORESET=1
104
.endif
105
84
# This macro sets the default size of the page-cache for temporary files
106
# This macro sets the default size of the page-cache for temporary files
85
# created by SQLite to store intermediate results, in pages.
107
# created by SQLite to store intermediate results, in pages.
86
.ifdef TEMP_CACHE_SIZE
108
.ifdef TEMP_CACHE_SIZE
Lines 167-173 Link Here
167
189
168
.include <bsd.port.pre.mk>
190
.include <bsd.port.pre.mk>
169
191
170
.if ${TCL_VER} > 8.4
192
.if defined(TCL_VER) && ${TCL_VER} > 8.4
171
BUILD_DEPENDS+=		${LOCALBASE}/lib/tcl8/${TCL_VER}:${PORTSDIR}/lang/tcl-modules
193
BUILD_DEPENDS+=		${LOCALBASE}/lib/tcl8/${TCL_VER}:${PORTSDIR}/lang/tcl-modules
172
.if defined(WITH_TCLWRAPPER)
194
.if defined(WITH_TCLWRAPPER)
173
RUN_DEPENDS+=		${LOCALBASE}/lib/tcl8/${TCL_VER}:${PORTSDIR}/lang/tcl-modules
195
RUN_DEPENDS+=		${LOCALBASE}/lib/tcl8/${TCL_VER}:${PORTSDIR}/lang/tcl-modules
Lines 181-190 Link Here
181
.ifndef TESTUSER
203
.ifndef TESTUSER
182
IGNORE=	set the value of the variable TESTUSER corresponding normal (not root) user, from which will be tested
204
IGNORE=	set the value of the variable TESTUSER corresponding normal (not root) user, from which will be tested
183
.endif
205
.endif
206
.ifndef WITH_TCLWRAPPER
207
IGNORE=	for the purpose of test you want to include TCL wrapper
208
.endif
184
.endif
209
.endif
185
210
186
test: build
211
test: build
187
	@(cd ${WRKSRC} && ${CHOWN} ${TESTUSER} ${WRKSRC} && su ${TESTUSER} -c "${MAKE} test"; ${CHOWN} ${USER} ${WRKSRC})
212
	@(cd ${WRKSRC} && ${CHOWN} -R ${TESTUSER} ${WRKSRC} && su ${TESTUSER} -c "${MAKE} test"; ${CHOWN} ${USER} ${WRKSRC})
188
213
189
post-build:
214
post-build:
190
	@${ECHO_CMD}
215
	@${ECHO_CMD}
(-)/usr/ports/databases/sqlite3/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sqlite-src-3070400.zip) = e7540069fad017a9dec374241b346570ce6c360e2960749ddcacac81f965c9b4
1
SHA256 (sqlite-src-3070500.zip) = 1bb838c02b4946c514e28cfcd1c15b0079f8626f5fbcfcf2b48e2a075acc5c51
2
SIZE (sqlite-src-3070400.zip) = 3997962
2
SIZE (sqlite-src-3070500.zip) = 3987471

Return to bug 154844