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

(-)databases/sqlite3/Makefile (-5 / +11 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	sqlite3
4
PORTNAME=	sqlite3
5
PORTVERSION=	3.15.1
5
PORTVERSION=	3.15.1
6
PORTREVISION=	1
6
CATEGORIES=	databases
7
CATEGORIES=	databases
7
MASTER_SITES=	https://www.sqlite.org/2016/ http://www2.sqlite.org/2016/ http://www3.sqlite.org/2016/
8
MASTER_SITES=	https://www.sqlite.org/2016/ http://www2.sqlite.org/2016/ http://www3.sqlite.org/2016/
8
DISTNAME=	sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00
9
DISTNAME=	sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00
Lines 17-27 USE_LDCONFIG= yes Link Here
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
18
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
19
20
20
# Platform Configuration
21
CFLAGS+=	-Os
22
CPPFLAGS+=	-DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1
23
CPPFLAGS+=	${OSVERSION<1000000:?:-DHAVE_STRCHRNUL=1}
24
25
MAKE_JOBS_UNSAFE=	yes
21
MAKE_JOBS_UNSAFE=	yes
26
22
27
# Compilation Options For SQLite https://www.sqlite.org/compile.html
23
# Compilation Options For SQLite https://www.sqlite.org/compile.html
Lines 173-178 ICU_LIB_DEPENDS= libicudata.so:devel/icu Link Here
173
ICU_CPPFLAGS=	`${LOCALBASE}/bin/icu-config --cppflags` -DSQLITE_ENABLE_ICU=1
169
ICU_CPPFLAGS=	`${LOCALBASE}/bin/icu-config --cppflags` -DSQLITE_ENABLE_ICU=1
174
ICU_LIBS=	`${LOCALBASE}/bin/icu-config --ldflags`
170
ICU_LIBS=	`${LOCALBASE}/bin/icu-config --ldflags`
175
171
172
UNICODE61_CPPFLAGS=	""
176
UNICODE61_CPPFLAGS_OFF=	-DSQLITE_DISABLE_FTS3_UNICODE=1
173
UNICODE61_CPPFLAGS_OFF=	-DSQLITE_DISABLE_FTS3_UNICODE=1
177
174
178
READLINES_CONFIGURE_ON=	--enable-readline
175
READLINES_CONFIGURE_ON=	--enable-readline
Lines 196-201 UNKNOWN_SQL_CPPFLAGS= -DSQLITE_ENABLE_UN Link Here
196
193
197
.include <bsd.port.options.mk>
194
.include <bsd.port.options.mk>
198
195
196
# Platform Configuration
197
.if !defined(WITH_DEBUG)
198
CFLAGS+=	-Os
199
.endif
200
CPPFLAGS+=	-DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1
201
.if defined(OSVERSION) && ${OSVERSION} >= 1000000
202
CPPFLAGS+=	-DHAVE_STRCHRNUL=1
203
.endif
204
199
post-configure:
205
post-configure:
200
	@${ECHO_MSG} "===> CONFIGURE_ARGS=${CONFIGURE_ARGS}"
206
	@${ECHO_MSG} "===> CONFIGURE_ARGS=${CONFIGURE_ARGS}"
201
	@${ECHO_MSG} "===> CPPFLAGS=${CPPFLAGS}"
207
	@${ECHO_MSG} "===> CPPFLAGS=${CPPFLAGS}"

Return to bug 214608